aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-12-03 06:20:18 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-12-03 06:20:18 +0000
commit089e4d999fd9495de5fa037bd135d7a1f90760f3 (patch)
tree79e8868697de4d9b8b5a9e5093dfbbe0964132a1 /epan/dissectors
parenta21898cf696cba9a38a43e43b5dc7aac341c5ba9 (diff)
Try to fix [-Wmissing-prototypes]
svn path=/trunk/; revision=53741
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-lapd.c2
-rw-r--r--epan/dissectors/packet-lapdm.c3
-rw-r--r--epan/dissectors/packet-laplink.c3
-rw-r--r--epan/dissectors/packet-ldp.c2
-rw-r--r--epan/dissectors/packet-opsi.c3
-rw-r--r--epan/dissectors/packet-sysex.c3
-rw-r--r--epan/dissectors/packet-x11.c4
7 files changed, 20 insertions, 0 deletions
diff --git a/epan/dissectors/packet-lapd.c b/epan/dissectors/packet-lapd.c
index 15ba189fc1..5e2d6f659e 100644
--- a/epan/dissectors/packet-lapd.c
+++ b/epan/dissectors/packet-lapd.c
@@ -50,6 +50,8 @@
#include <epan/expert.h>
#include <epan/wmem/wmem.h>
+void proto_register_lapd(void);
+
static int proto_lapd = -1;
static int hf_lapd_direction = -1;
static int hf_lapd_address = -1;
diff --git a/epan/dissectors/packet-lapdm.c b/epan/dissectors/packet-lapdm.c
index 8a8867bd51..32f3ce99c1 100644
--- a/epan/dissectors/packet-lapdm.c
+++ b/epan/dissectors/packet-lapdm.c
@@ -59,6 +59,9 @@
#include <epan/xdlc.h>
#include <epan/reassemble.h>
+void proto_register_lapdm(void);
+void proto_reg_handoff_lapdm(void);
+
static int proto_lapdm = -1;
static int hf_lapdm_address = -1;
static int hf_lapdm_ea = -1;
diff --git a/epan/dissectors/packet-laplink.c b/epan/dissectors/packet-laplink.c
index a44d589484..ace654f88e 100644
--- a/epan/dissectors/packet-laplink.c
+++ b/epan/dissectors/packet-laplink.c
@@ -33,6 +33,9 @@
#include "packet-tcp.h"
#include <epan/prefs.h>
+void proto_register_laplink(void);
+void proto_reg_handoff_laplink(void);
+
#define TCP_PORT_LAPLINK 1547
#define UDP_PORT_LAPLINK 1547
diff --git a/epan/dissectors/packet-ldp.c b/epan/dissectors/packet-ldp.c
index 965597df6e..cc88bc3397 100644
--- a/epan/dissectors/packet-ldp.c
+++ b/epan/dissectors/packet-ldp.c
@@ -58,6 +58,8 @@
#define TCP_PORT_LDP 646
#define UDP_PORT_LDP 646
+
+void proto_register_ldp(void);
void proto_reg_handoff_ldp(void);
static int proto_ldp = -1;
diff --git a/epan/dissectors/packet-opsi.c b/epan/dissectors/packet-opsi.c
index dfe82b6a32..2e8f1bb1bf 100644
--- a/epan/dissectors/packet-opsi.c
+++ b/epan/dissectors/packet-opsi.c
@@ -33,6 +33,9 @@
#include "packet-tcp.h"
+void proto_register_opsi(void);
+void proto_reg_handoff_opsi(void);
+
/* TCP destination port dedicated to the OPSI protocol */
#define TCP_PORT_OPSI 4002
diff --git a/epan/dissectors/packet-sysex.c b/epan/dissectors/packet-sysex.c
index 4c94723b4a..6f8565c927 100644
--- a/epan/dissectors/packet-sysex.c
+++ b/epan/dissectors/packet-sysex.c
@@ -31,6 +31,9 @@
#include <epan/reassemble.h>
#include <epan/tfs.h>
+void proto_register_sysex(void);
+void proto_reg_handoff_sysex(void);
+
/* protocols and header fields */
static int proto_sysex = -1;
static int hf_sysex_message_start = -1;
diff --git a/epan/dissectors/packet-x11.c b/epan/dissectors/packet-x11.c
index 0f2d0f5fcf..cf14a5075a 100644
--- a/epan/dissectors/packet-x11.c
+++ b/epan/dissectors/packet-x11.c
@@ -68,8 +68,12 @@
#include "packet-x11-keysymdef.h"
#include "packet-x11.h"
+void proto_register_x11(void);
+void proto_reg_handoff_x11(void);
+
#define cVALS(x) (const value_string*)(x)
+
/*
* Data structure associated with a conversation; keeps track of the
* request for which we're expecting a reply, the frame number of