aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-12-08 16:50:07 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-12-08 16:50:07 +0000
commit5db045212e7dd63dc4a61477de9dca3996a456b1 (patch)
tree8a5b28fb524db5ba55abe3a90b537dea86160aaa
parent8983ae005a175f04f34bd37d4e7447d583d8256c (diff)
- Forward declaration of register functions.
svn path=/trunk/; revision=53862
-rw-r--r--asn1/h501/packet-h501-template.c2
-rw-r--r--epan/dissectors/packet-xot.c3
-rw-r--r--epan/dissectors/packet-xyplex.c3
-rw-r--r--epan/dissectors/packet-yhoo.c3
4 files changed, 11 insertions, 0 deletions
diff --git a/asn1/h501/packet-h501-template.c b/asn1/h501/packet-h501-template.c
index 93a170806b..9d149a362f 100644
--- a/asn1/h501/packet-h501-template.c
+++ b/asn1/h501/packet-h501-template.c
@@ -40,6 +40,8 @@
#define PSNAME "H.501"
#define PFNAME "h501"
+void proto_register_h501(void);
+
/* Initialize the protocol and registered fields */
static int proto_h501 = -1;
#include "packet-h501-hf.c"
diff --git a/epan/dissectors/packet-xot.c b/epan/dissectors/packet-xot.c
index 7603f3a79d..38c8984022 100644
--- a/epan/dissectors/packet-xot.c
+++ b/epan/dissectors/packet-xot.c
@@ -45,6 +45,9 @@
#define X25_MBIT_MOD8 0x10
#define X25_MBIT_MOD128 0x01
+void proto_register_xot(void);
+void proto_reg_handoff_xot(void);
+
static const value_string vals_x25_type[] = {
{ XOT_PVC_SETUP, "PVC Setup" },
{ 0, NULL}
diff --git a/epan/dissectors/packet-xyplex.c b/epan/dissectors/packet-xyplex.c
index 2d06f741c9..a9e39f94ca 100644
--- a/epan/dissectors/packet-xyplex.c
+++ b/epan/dissectors/packet-xyplex.c
@@ -32,6 +32,9 @@
#include <epan/packet.h>
#include <epan/conversation.h>
+void proto_register_xyplex(void);
+void proto_reg_handoff_xyplex(void);
+
static int proto_xyplex = -1;
static int hf_xyplex_type = -1;
static int hf_xyplex_pad = -1;
diff --git a/epan/dissectors/packet-yhoo.c b/epan/dissectors/packet-yhoo.c
index 9abee75f1e..95c05ba336 100644
--- a/epan/dissectors/packet-yhoo.c
+++ b/epan/dissectors/packet-yhoo.c
@@ -31,6 +31,9 @@
#include <epan/packet.h>
+void proto_register_yhoo(void);
+void proto_reg_handoff_yhoo(void);
+
static int proto_yhoo = -1;
static int hf_yhoo_version = -1;
static int hf_yhoo_len = -1;