aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-12-09 06:20:42 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-12-09 06:20:42 +0000
commit0d46cdae53f3295fa708139911af9a62202865ec (patch)
treebf48876571aa9eed4c768092e839c407d6cbdf87 /asn1
parentf91eba752b3e34489951e507c54df36fee1feee4 (diff)
- Forward declaration of register functions.
svn path=/trunk/; revision=53876
Diffstat (limited to 'asn1')
-rw-r--r--asn1/h282/packet-h282-template.c3
-rw-r--r--asn1/h450/packet-h450-template.c4
-rw-r--r--asn1/idmp/packet-idmp-template.c3
-rw-r--r--asn1/lte-rrc/packet-lte-rrc-template.c4
-rw-r--r--asn1/nbap/packet-nbap-template.c3
-rw-r--r--asn1/pkix1explicit/packet-pkix1explicit-template.c3
-rw-r--r--asn1/tetra/packet-tetra-template.c2
7 files changed, 21 insertions, 1 deletions
diff --git a/asn1/h282/packet-h282-template.c b/asn1/h282/packet-h282-template.c
index 4191e93d33..b76bb4a11d 100644
--- a/asn1/h282/packet-h282-template.c
+++ b/asn1/h282/packet-h282-template.c
@@ -36,6 +36,9 @@
#define PSNAME "RDC"
#define PFNAME "rdc"
+void proto_register_h282(void);
+void proto_reg_handoff_h282(void);
+
/* Initialize the protocol and registered fields */
static int proto_h282 = -1;
#include "packet-h282-hf.c"
diff --git a/asn1/h450/packet-h450-template.c b/asn1/h450/packet-h450-template.c
index 003546e9ef..544085709f 100644
--- a/asn1/h450/packet-h450-template.c
+++ b/asn1/h450/packet-h450-template.c
@@ -44,6 +44,10 @@
#define PSNAME "H.450"
#define PFNAME "h450"
+void proto_register_h450(void);
+void proto_reg_handoff_h450(void);
+
+
/* Initialize the protocol and registered fields */
static int proto_h450 = -1;
static int hf_h450_operation = -1;
diff --git a/asn1/idmp/packet-idmp-template.c b/asn1/idmp/packet-idmp-template.c
index 752903d919..5cb9a2f020 100644
--- a/asn1/idmp/packet-idmp-template.c
+++ b/asn1/idmp/packet-idmp-template.c
@@ -47,6 +47,9 @@
#define PSNAME "IDMP"
#define PFNAME "idmp"
+void proto_register_idmp(void);
+void proto_reg_handoff_idm(void);
+
static gboolean idmp_desegment = TRUE;
static guint global_idmp_tcp_port = 1102; /* made up for now */
static gboolean idmp_reassemble = TRUE;
diff --git a/asn1/lte-rrc/packet-lte-rrc-template.c b/asn1/lte-rrc/packet-lte-rrc-template.c
index d5735bce88..9cabab90a4 100644
--- a/asn1/lte-rrc/packet-lte-rrc-template.c
+++ b/asn1/lte-rrc/packet-lte-rrc-template.c
@@ -48,11 +48,15 @@
#include "packet-mac-lte.h"
#include "packet-rlc-lte.h"
#include "packet-pdcp-lte.h"
+#include "packet-lte-rrc.h"
#define PNAME "LTE Radio Resource Control (RRC) protocol"
#define PSNAME "LTE RRC"
#define PFNAME "lte_rrc"
+void proto_register_lte_rrc(void);
+void proto_reg_handoff_lte_rrc(void);
+
static dissector_handle_t nas_eps_handle = NULL;
static dissector_handle_t rrc_irat_ho_to_utran_cmd_handle = NULL;
static dissector_handle_t rrc_sys_info_cont_handle = NULL;
diff --git a/asn1/nbap/packet-nbap-template.c b/asn1/nbap/packet-nbap-template.c
index 28775aa50b..9f396f03d3 100644
--- a/asn1/nbap/packet-nbap-template.c
+++ b/asn1/nbap/packet-nbap-template.c
@@ -73,6 +73,9 @@
#define nbap_debug4(str,p1,p2,p3,p4)
#endif
+void proto_register_nbap(void);
+void proto_reg_handoff_nbap(void);
+
/* Global variables */
static dissector_handle_t fp_handle;
static guint32 transportLayerAddress_ipv4;
diff --git a/asn1/pkix1explicit/packet-pkix1explicit-template.c b/asn1/pkix1explicit/packet-pkix1explicit-template.c
index 20af7b365e..311825c291 100644
--- a/asn1/pkix1explicit/packet-pkix1explicit-template.c
+++ b/asn1/pkix1explicit/packet-pkix1explicit-template.c
@@ -42,6 +42,9 @@
#define PSNAME "PKIX1EXPLICIT"
#define PFNAME "pkix1explicit"
+void proto_register_pkix1explicit(void);
+void proto_reg_handoff_pkix1explicit(void);
+
/* Initialize the protocol and registered fields */
static int proto_pkix1explicit = -1;
static int hf_pkix1explicit_object_identifier_id = -1;
diff --git a/asn1/tetra/packet-tetra-template.c b/asn1/tetra/packet-tetra-template.c
index fe4fae4876..d1450361b4 100644
--- a/asn1/tetra/packet-tetra-template.c
+++ b/asn1/tetra/packet-tetra-template.c
@@ -47,7 +47,7 @@
#define PROTO_TAG_tetra "TETRA"
void proto_register_tetra(void);
-void proto_reg_handoff_ldap(void);
+void proto_reg_handoff_tetra(void);
/* Wireshark ID of the tetra protocol */
static int proto_tetra = -1;