From eb252d2d3471d5b80af847cd536048fc05c4ae5f Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Sat, 7 Dec 2013 11:37:58 +0000 Subject: - Make local functions static. - Forward declaration of register functions. svn path=/trunk/; revision=53821 --- epan/dissectors/packet-q932-ros.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'epan/dissectors/packet-q932-ros.c') diff --git a/epan/dissectors/packet-q932-ros.c b/epan/dissectors/packet-q932-ros.c index 3adb8bb5b6..01ea7bf308 100644 --- a/epan/dissectors/packet-q932-ros.c +++ b/epan/dissectors/packet-q932-ros.c @@ -45,6 +45,9 @@ #define PSNAME "Q932.ROS" #define PFNAME "q932.ros" +void proto_register_q932_ros(void); +void proto_reg_handoff_q932_ros(void); + /* Initialize the protocol and registered fields */ static int proto_q932_ros = -1; @@ -76,7 +79,7 @@ static int hf_q932_ros_present = -1; /* INTEGER */ static int hf_q932_ros_InvokeId_present = -1; /* InvokeId_present */ /*--- End of included file: packet-q932-ros-hf.c ---*/ -#line 43 "../../asn1/q932-ros/packet-q932-ros-template.c" +#line 46 "../../asn1/q932-ros/packet-q932-ros-template.c" /* Initialize the subtree pointers */ @@ -94,7 +97,7 @@ static gint ett_q932_ros_T_problem = -1; static gint ett_q932_ros_InvokeId = -1; /*--- End of included file: packet-q932-ros-ett.c ---*/ -#line 46 "../../asn1/q932-ros/packet-q932-ros-template.c" +#line 49 "../../asn1/q932-ros/packet-q932-ros-template.c" static expert_field ei_ros_undecoded = EI_INIT; @@ -677,7 +680,7 @@ static int dissect_ROS_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree /*--- End of included file: packet-q932-ros-fn.c ---*/ -#line 63 "../../asn1/q932-ros/packet-q932-ros-template.c" +#line 66 "../../asn1/q932-ros/packet-q932-ros-template.c" /*--- dissect_q932_ros -----------------------------------------------------*/ static int dissect_q932_ros(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { @@ -792,7 +795,7 @@ void proto_register_q932_ros(void) { "InvokeId_present", HFILL }}, /*--- End of included file: packet-q932-ros-hfarr.c ---*/ -#line 77 "../../asn1/q932-ros/packet-q932-ros-template.c" +#line 80 "../../asn1/q932-ros/packet-q932-ros-template.c" }; /* List of subtrees */ @@ -812,7 +815,7 @@ void proto_register_q932_ros(void) { &ett_q932_ros_InvokeId, /*--- End of included file: packet-q932-ros-ettarr.c ---*/ -#line 82 "../../asn1/q932-ros/packet-q932-ros-template.c" +#line 85 "../../asn1/q932-ros/packet-q932-ros-template.c" }; static ei_register_info ei[] = { -- cgit v1.2.3