summaryrefslogtreecommitdiff
path: root/asn1
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-12-08 16:40:49 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-12-08 16:40:49 +0000
commit8983ae005a175f04f34bd37d4e7447d583d8256c (patch)
tree380c6034536b1d967c93e96b394c8cfb232ce62d /asn1
parentc9884f573a530de0127754d307bcb463c4f01dad (diff)
downloadwireshark-8983ae005a175f04f34bd37d4e7447d583d8256c.tar.gz
- Forward declaration of register functions.
svn path=/trunk/; revision=53861
Diffstat (limited to 'asn1')
-rw-r--r--asn1/hnbap/packet-hnbap-template.c2
-rw-r--r--asn1/inap/packet-inap-template.c4
-rw-r--r--asn1/lpp/packet-lpp-template.c4
-rw-r--r--asn1/lppe/packet-lppe-template.c3
-rw-r--r--asn1/pres/packet-pres-template.c3
-rw-r--r--asn1/q932/packet-q932-template.c2
-rw-r--r--asn1/rtse/packet-rtse-template.c3
7 files changed, 21 insertions, 0 deletions
diff --git a/asn1/hnbap/packet-hnbap-template.c b/asn1/hnbap/packet-hnbap-template.c
index 479f8b82fd..9f3557fee3 100644
--- a/asn1/hnbap/packet-hnbap-template.c
+++ b/asn1/hnbap/packet-hnbap-template.c
@@ -48,6 +48,8 @@
/* Dissector will use SCTP PPID 20 or SCTP port. IANA assigned port = 29169*/
#define SCTP_PORT_HNBAP 29169
+void proto_register_hnbap(void);
+
#include "packet-hnbap-val.h"
/* Initialize the protocol and registered fields */
diff --git a/asn1/inap/packet-inap-template.c b/asn1/inap/packet-inap-template.c
index 59943d4cac..774d8ffe25 100644
--- a/asn1/inap/packet-inap-template.c
+++ b/asn1/inap/packet-inap-template.c
@@ -47,6 +47,10 @@
#define PSNAME "INAP"
#define PFNAME "inap"
+void proto_register_inap(void);
+void proto_reg_handoff_inap(void);
+
+
/* Initialize the protocol and registered fields */
static int proto_inap = -1;
diff --git a/asn1/lpp/packet-lpp-template.c b/asn1/lpp/packet-lpp-template.c
index e64081b8de..d516d7dbda 100644
--- a/asn1/lpp/packet-lpp-template.c
+++ b/asn1/lpp/packet-lpp-template.c
@@ -34,11 +34,15 @@
#include <epan/asn1.h>
#include "packet-per.h"
+#include "packet-lpp.h"
#define PNAME "LTE Positioning Protocol (LLP)"
#define PSNAME "LPP"
#define PFNAME "lpp"
+void proto_register_lpp(void);
+void proto_reg_handoff_lpp(void);
+
/* Initialize the protocol and registered fields */
static int proto_lpp = -1;
diff --git a/asn1/lppe/packet-lppe-template.c b/asn1/lppe/packet-lppe-template.c
index c89252128f..9f0afc1058 100644
--- a/asn1/lppe/packet-lppe-template.c
+++ b/asn1/lppe/packet-lppe-template.c
@@ -43,6 +43,9 @@
#pragma warning(disable:4146)
#endif
+void proto_register_lppe(void);
+void proto_reg_handoff_lppe(void);
+
/* Initialize the protocol and registered fields */
static int proto_lppe = -1;
diff --git a/asn1/pres/packet-pres-template.c b/asn1/pres/packet-pres-template.c
index 24d911da78..9e7711b4c6 100644
--- a/asn1/pres/packet-pres-template.c
+++ b/asn1/pres/packet-pres-template.c
@@ -53,6 +53,9 @@
#define CLPSNAME "CLPRES"
#define CLPFNAME "clpres"
+void proto_register_pres(void);
+void proto_reg_handoff_pres(void);
+
/* Initialize the protocol and registered fields */
static int proto_pres = -1;
diff --git a/asn1/q932/packet-q932-template.c b/asn1/q932/packet-q932-template.c
index 3ee787e61f..7578582192 100644
--- a/asn1/q932/packet-q932-template.c
+++ b/asn1/q932/packet-q932-template.c
@@ -37,6 +37,8 @@
#define PSNAME "Q932"
#define PFNAME "q932"
+void proto_register_q932(void);
+
/* Initialize the protocol and registered fields */
static int proto_q932 = -1;
static int hf_q932_ie_type = -1;
diff --git a/asn1/rtse/packet-rtse-template.c b/asn1/rtse/packet-rtse-template.c
index 6ddd05d159..83386f5d6e 100644
--- a/asn1/rtse/packet-rtse-template.c
+++ b/asn1/rtse/packet-rtse-template.c
@@ -43,6 +43,9 @@
#define PSNAME "RTSE"
#define PFNAME "rtse"
+void proto_register_rtse(void);
+void proto_reg_handoff_rtse(void);
+
/* Initialize the protocol and registered fields */
static int proto_rtse = -1;