aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/p7
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2010-12-06 22:08:48 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2010-12-06 22:08:48 +0000
commitf2fc5d42fd948d408a9362b8db7024d1cc209696 (patch)
tree051a8cba576212c18f1feff3d86ea30b8d6e129a /asn1/p7
parentc0565d89362a36ca02780196fa69f2330ffee5c3 (diff)
Make some prefs callback functions static. (These modules don't use proto_reg_handoff_*() as their prefs callback.)
svn path=/trunk/; revision=35138
Diffstat (limited to 'asn1/p7')
-rw-r--r--asn1/p7/packet-p7-template.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/asn1/p7/packet-p7-template.c b/asn1/p7/packet-p7-template.c
index aebb0bb6a7..8f712769b7 100644
--- a/asn1/p7/packet-p7-template.c
+++ b/asn1/p7/packet-p7-template.c
@@ -50,7 +50,7 @@ static dissector_handle_t tpkt_handle;
static const char *object_identifier_id = NULL; /* attribute identifier */
static int seqno = 0;
-void prefs_register_p7(void); /* forward declaration for use in preferences registration */
+static void prefs_register_p7(void); /* forward declaration for use in preferences registration */
/* Initialize the protocol and registered fields */
@@ -130,16 +130,18 @@ void proto_reg_handoff_p7(void) {
/* ABSTRACT SYNTAXES */
/* Register P7 with ROS (with no use of RTSE) */
- register_ros_protocol_info("2.6.0.2.9", &p7_ros_info, 0, "id-as-ms", FALSE);
- register_ros_protocol_info("2.6.0.2.5", &p7_ros_info, 0, "id-as-mrse", FALSE);
- register_ros_protocol_info("2.6.0.2.1", &p7_ros_info, 0, "id-as-msse", FALSE);
+ register_ros_protocol_info("2.6.0.2.9", &p7_ros_info, 0, "id-as-ms", FALSE);
+ register_ros_protocol_info("2.6.0.2.5", &p7_ros_info, 0, "id-as-mrse", FALSE);
+ register_ros_protocol_info("2.6.0.2.1", &p7_ros_info, 0, "id-as-msse", FALSE);
/* remember the tpkt handler for change in preferences */
tpkt_handle = find_dissector("tpkt");
}
-void prefs_register_p7(void) {
+static void
+prefs_register_p7(void)
+{
static guint tcp_port = 0;
/* de-register the old port */