aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/ethercat/packet-esl.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-11-19 06:06:38 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-11-19 06:06:38 +0000
commit864431b900d653322fadd148a615d03598f62b24 (patch)
tree194d368659701d458219aa81af7f0ee896e5f2de /plugins/ethercat/packet-esl.c
parentbfcc63972eaec585105f169927ffe23def39ae2c (diff)
Fix [-Wmissing-prototypes]
svn path=/trunk/; revision=53425
Diffstat (limited to 'plugins/ethercat/packet-esl.c')
-rw-r--r--plugins/ethercat/packet-esl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/ethercat/packet-esl.c b/plugins/ethercat/packet-esl.c
index e454ef659f..9b643347cf 100644
--- a/plugins/ethercat/packet-esl.c
+++ b/plugins/ethercat/packet-esl.c
@@ -31,6 +31,8 @@
#include <epan/packet.h>
#include <epan/prefs.h>
+void proto_register_esl(void);
+
#if 0
/* XXX: using bitfields is compiler dependent: See README.developer */
@@ -214,7 +216,7 @@ typedef struct _ref_time_frame_info
static ref_time_frame_info ref_time_frame;
-gboolean is_esl_header(tvbuff_t *tvb, gint offset)
+static gboolean is_esl_header(tvbuff_t *tvb, gint offset)
{
return tvb_get_guint8(tvb, offset) == 0x01 &&
tvb_get_guint8(tvb, offset+1) == 0x01 &&
@@ -224,7 +226,7 @@ gboolean is_esl_header(tvbuff_t *tvb, gint offset)
tvb_get_guint8(tvb, offset+5) == 0x00;
}
-void modify_times(tvbuff_t *tvb, gint offset, packet_info *pinfo)
+static void modify_times(tvbuff_t *tvb, gint offset, packet_info *pinfo)
{
if ( ref_time_frame.fd == NULL )
{