aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-03-28 07:34:13 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-03-28 07:34:13 +0000
commitdafdc19d9ef7e437daa07ebf84744e79e3602064 (patch)
tree507f4ee4733d9899b7a9e29b072a1b9a7fece8ac /asn1
parent182876540a9bf918e6cf63b241383356bf5206b5 (diff)
-Wmissing-prototypes
svn path=/trunk/; revision=48609
Diffstat (limited to 'asn1')
-rw-r--r--asn1/gnm/packet-gnm-template.c5
-rw-r--r--asn1/gprscdr/packet-gprscdr-template.c2
-rw-r--r--asn1/gsm_map/packet-gsm_map-template.c3
-rw-r--r--asn1/m3ap/packet-m3ap-template.c3
-rw-r--r--asn1/pkcs12/packet-pkcs12-template.c3
-rw-r--r--asn1/qsig/packet-qsig-template.c3
-rw-r--r--asn1/ros/packet-ros-template.c3
-rw-r--r--asn1/rua/packet-rua-template.c2
-rw-r--r--asn1/s1ap/packet-s1ap-template.c3
-rw-r--r--asn1/sabp/packet-sabp-template.c3
-rw-r--r--asn1/smrse/packet-smrse-template.c3
-rw-r--r--asn1/sv/packet-sv-template.c2
-rw-r--r--asn1/t124/packet-t124-template.c3
-rw-r--r--asn1/t125/packet-t125-template.c2
-rw-r--r--asn1/t38/packet-t38-template.c3
-rw-r--r--asn1/ulp/packet-ulp-template.c2
-rw-r--r--asn1/wlancertextn/packet-wlancertextn-template.c3
-rw-r--r--asn1/x2ap/packet-x2ap-template.c2
-rw-r--r--asn1/x509af/packet-x509af-template.c3
19 files changed, 52 insertions, 1 deletions
diff --git a/asn1/gnm/packet-gnm-template.c b/asn1/gnm/packet-gnm-template.c
index 91c6a273f6..7635028f22 100644
--- a/asn1/gnm/packet-gnm-template.c
+++ b/asn1/gnm/packet-gnm-template.c
@@ -41,6 +41,9 @@
#define PSNAME "GNM"
#define PFNAME "gnm"
+void proto_register_gnm(void);
+void proto_reg_handoff_gnm(void);
+
/* Initialize the protocol and registered fields */
static int proto_gnm = -1;
@@ -64,7 +67,7 @@ dissect_gnm_attribute_ObjectInstance(tvbuff_t *tvb, packet_info *pinfo, proto_tr
}
-void
+static void
dissect_gnm(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
{
/* Dymmy function */
diff --git a/asn1/gprscdr/packet-gprscdr-template.c b/asn1/gprscdr/packet-gprscdr-template.c
index cbe0122646..10c095d0d3 100644
--- a/asn1/gprscdr/packet-gprscdr-template.c
+++ b/asn1/gprscdr/packet-gprscdr-template.c
@@ -38,6 +38,8 @@
#define PSNAME "GPRSCDR"
#define PFNAME "gprscdr"
+void proto_register_gprscdr(void);
+
/* Define the GPRS CDR proto */
static int proto_gprscdr = -1;
diff --git a/asn1/gsm_map/packet-gsm_map-template.c b/asn1/gsm_map/packet-gsm_map-template.c
index e984a11b16..1254839415 100644
--- a/asn1/gsm_map/packet-gsm_map-template.c
+++ b/asn1/gsm_map/packet-gsm_map-template.c
@@ -73,6 +73,9 @@
#define PSNAME "GSM_MAP"
#define PFNAME "gsm_map"
+void proto_register_gsm_map(void);
+void proto_reg_handoff_gsm_map(void);
+
/* Initialize the protocol and registered fields */
static int proto_gsm_map = -1;
static int proto_gsm_map_dialogue = -1;
diff --git a/asn1/m3ap/packet-m3ap-template.c b/asn1/m3ap/packet-m3ap-template.c
index 74aadac31a..f4659fd497 100644
--- a/asn1/m3ap/packet-m3ap-template.c
+++ b/asn1/m3ap/packet-m3ap-template.c
@@ -44,6 +44,9 @@
#define PSNAME "M3AP"
#define PFNAME "m3ap"
+void proto_register_m3ap(void);
+void proto_reg_handoff_m3ap(void);
+
/* M3AP uses port 36444 as recommended by IANA. */
#define M3AP_PORT 36444
static dissector_handle_t m3ap_handle=NULL;
diff --git a/asn1/pkcs12/packet-pkcs12-template.c b/asn1/pkcs12/packet-pkcs12-template.c
index 6bb98a5fb4..0160213248 100644
--- a/asn1/pkcs12/packet-pkcs12-template.c
+++ b/asn1/pkcs12/packet-pkcs12-template.c
@@ -57,6 +57,9 @@
#define PKCS12_PBE_3DES_SHA1_OID "1.2.840.113549.1.12.1.3"
#define PKCS12_PBE_RC2_40_SHA1_OID "1.2.840.113549.1.12.1.6"
+void proto_register_pkcs12(void);
+void proto_reg_handoff_pkcs12(void);
+
/* Initialize the protocol and registered fields */
static int proto_pkcs12 = -1;
diff --git a/asn1/qsig/packet-qsig-template.c b/asn1/qsig/packet-qsig-template.c
index beb5c4fe3a..c4261414c4 100644
--- a/asn1/qsig/packet-qsig-template.c
+++ b/asn1/qsig/packet-qsig-template.c
@@ -49,6 +49,9 @@
#define QSIG_IE_TRANSIT_COUNTER 0x31
#define QSIG_IE_PARTY_CATEGORY 0x32
+void proto_register_qsig(void);
+void proto_reg_handoff_qsig(void);
+
static const value_string qsig_str_ie_type_cs4[] = {
{ QSIG_IE_TRANSIT_COUNTER , "Transit counter" },
{ 0, NULL}
diff --git a/asn1/ros/packet-ros-template.c b/asn1/ros/packet-ros-template.c
index 96c1f82d76..5ec12a9f07 100644
--- a/asn1/ros/packet-ros-template.c
+++ b/asn1/ros/packet-ros-template.c
@@ -40,6 +40,9 @@
#define PSNAME "ROS"
#define PFNAME "ros"
+void proto_register_ros(void);
+void proto_reg_handoff_ros(void);
+
/* Initialize the protocol and registered fields */
static int proto_ros = -1;
diff --git a/asn1/rua/packet-rua-template.c b/asn1/rua/packet-rua-template.c
index a72b4e67cd..f988d0b672 100644
--- a/asn1/rua/packet-rua-template.c
+++ b/asn1/rua/packet-rua-template.c
@@ -48,6 +48,8 @@
/* Dissector to use SCTP PPID 19 or a configured SCTP port. IANA assigned port = 29169*/
#define SCTP_PORT_RUA 29169;
+void proto_register_rua(void);
+
#include "packet-rua-val.h"
/* Initialize the protocol and registered fields */
diff --git a/asn1/s1ap/packet-s1ap-template.c b/asn1/s1ap/packet-s1ap-template.c
index 49be4e24a5..1e5240baf0 100644
--- a/asn1/s1ap/packet-s1ap-template.c
+++ b/asn1/s1ap/packet-s1ap-template.c
@@ -59,6 +59,9 @@
/* Dissector will use SCTP PPID 18 or SCTP port. IANA assigned port = 36412 */
#define SCTP_PORT_S1AP 36412
+void proto_register_s1ap(void);
+void proto_reg_handoff_s1ap(void);
+
static dissector_handle_t nas_eps_handle;
static dissector_handle_t lppa_handle;
static dissector_handle_t bssgp_handle;
diff --git a/asn1/sabp/packet-sabp-template.c b/asn1/sabp/packet-sabp-template.c
index 79e0b62c3a..0bbfce48b4 100644
--- a/asn1/sabp/packet-sabp-template.c
+++ b/asn1/sabp/packet-sabp-template.c
@@ -46,6 +46,9 @@
#include "packet-sabp-val.h"
+void proto_register_sabp(void);
+void proto_reg_handoff_sabp(void);
+
/* Initialize the protocol and registered fields */
static int proto_sabp = -1;
diff --git a/asn1/smrse/packet-smrse-template.c b/asn1/smrse/packet-smrse-template.c
index 934ca69916..51d15312c1 100644
--- a/asn1/smrse/packet-smrse-template.c
+++ b/asn1/smrse/packet-smrse-template.c
@@ -38,6 +38,9 @@
#define TCP_PORT_SMRSE 4321
+void proto_register_smrse(void);
+void proto_reg_handoff_smrse(void);
+
/* Initialize the protocol and registered fields */
static int proto_smrse = -1;
static int hf_smrse_reserved = -1;
diff --git a/asn1/sv/packet-sv-template.c b/asn1/sv/packet-sv-template.c
index e1de209f29..9b3f730b0d 100644
--- a/asn1/sv/packet-sv-template.c
+++ b/asn1/sv/packet-sv-template.c
@@ -71,6 +71,8 @@
/* see UCA Implementation Guideline for IEC 61850-9-2 */
#define Q_DERIVED (1 << 13)
+void proto_register_sv(void);
+void proto_reg_handoff_sv(void);
/* Data for SV tap */
static int sv_tap = -1;
diff --git a/asn1/t124/packet-t124-template.c b/asn1/t124/packet-t124-template.c
index f0b5418901..a3ed615420 100644
--- a/asn1/t124/packet-t124-template.c
+++ b/asn1/t124/packet-t124-template.c
@@ -44,6 +44,9 @@
#define PSNAME "T.124"
#define PFNAME "t124"
+void proto_register_t124(void);
+void proto_reg_handoff_t124(void);
+
/* Initialize the protocol and registered fields */
static int proto_t124 = -1;
static proto_tree *top_tree = NULL;
diff --git a/asn1/t125/packet-t125-template.c b/asn1/t125/packet-t125-template.c
index f89555b224..ae512ce9d5 100644
--- a/asn1/t125/packet-t125-template.c
+++ b/asn1/t125/packet-t125-template.c
@@ -39,6 +39,8 @@
#define PSNAME "T.125"
#define PFNAME "t125"
+void proto_register_t125(void);
+void proto_reg_handoff_t125(void);
/* Initialize the protocol and registered fields */
static int proto_t125 = -1;
diff --git a/asn1/t38/packet-t38-template.c b/asn1/t38/packet-t38-template.c
index 312d42180b..87966844f5 100644
--- a/asn1/t38/packet-t38-template.c
+++ b/asn1/t38/packet-t38-template.c
@@ -64,6 +64,9 @@
#include <epan/emem.h>
#include <epan/strutil.h>
+void proto_register_t38(void);
+void proto_reg_handoff_t38(void);
+
#define PORT_T38 6004
static guint global_t38_tcp_port = PORT_T38;
static guint global_t38_udp_port = PORT_T38;
diff --git a/asn1/ulp/packet-ulp-template.c b/asn1/ulp/packet-ulp-template.c
index 503aaa5757..76e272b2dc 100644
--- a/asn1/ulp/packet-ulp-template.c
+++ b/asn1/ulp/packet-ulp-template.c
@@ -41,6 +41,8 @@
#define PSNAME "ULP"
#define PFNAME "ulp"
+void proto_register_ulp(void);
+
static dissector_handle_t rrlp_handle;
static dissector_handle_t lpp_handle;
diff --git a/asn1/wlancertextn/packet-wlancertextn-template.c b/asn1/wlancertextn/packet-wlancertextn-template.c
index 0b1731882f..9bb2cc41a9 100644
--- a/asn1/wlancertextn/packet-wlancertextn-template.c
+++ b/asn1/wlancertextn/packet-wlancertextn-template.c
@@ -40,6 +40,9 @@
#define PSNAME "WLANCERTEXTN"
#define PFNAME "wlancertextn"
+void proto_register_wlancertextn(void);
+void proto_reg_handoff_wlancertextn(void);
+
/* Initialize the protocol and registered fields */
static int proto_wlancertextn = -1;
#include "packet-wlancertextn-hf.c"
diff --git a/asn1/x2ap/packet-x2ap-template.c b/asn1/x2ap/packet-x2ap-template.c
index ce58d5ce97..452cfb99c3 100644
--- a/asn1/x2ap/packet-x2ap-template.c
+++ b/asn1/x2ap/packet-x2ap-template.c
@@ -50,6 +50,8 @@
#define PSNAME "X2AP"
#define PFNAME "x2ap"
+void proto_register_x2ap(void);
+
/* Dissector will use SCTP PPID 27 or SCTP port. IANA assigned port = 36422 */
#define SCTP_PORT_X2AP 36422
diff --git a/asn1/x509af/packet-x509af-template.c b/asn1/x509af/packet-x509af-template.c
index bb0c259acc..a91d606798 100644
--- a/asn1/x509af/packet-x509af-template.c
+++ b/asn1/x509af/packet-x509af-template.c
@@ -41,6 +41,9 @@
#define PSNAME "X509AF"
#define PFNAME "x509af"
+void proto_register_x509af(void);
+void proto_reg_handoff_x509af(void);
+
/* Initialize the protocol and registered fields */
static int proto_x509af = -1;
static int hf_x509af_algorithm_id = -1;