aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mux27010.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-04-28 15:18:54 +0000
committerBill Meier <wmeier@newsguy.com>2011-04-28 15:18:54 +0000
commit3fe0a82016a1d26dde19066fe872b3705f19ea00 (patch)
tree45cfae3e549c4fa27abfa142d45c4d61e348ff53 /epan/dissectors/packet-mux27010.c
parent18e5081475e1cb9dcdf0df3e7fad1e857abed564 (diff)
Remove an unneeded forward declaration (fixes compiler error);
Move a global variable to be local to proto_reg-handoff... svn path=/trunk/; revision=36938
Diffstat (limited to 'epan/dissectors/packet-mux27010.c')
-rw-r--r--epan/dissectors/packet-mux27010.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-mux27010.c b/epan/dissectors/packet-mux27010.c
index f92ec754d5..73662a7a43 100644
--- a/epan/dissectors/packet-mux27010.c
+++ b/epan/dissectors/packet-mux27010.c
@@ -102,9 +102,6 @@ static int proto_mux27010 = -1;
/* Handles of subdissectors */
static dissector_handle_t ppp_handle;
-static dissector_handle_t mux27010_handle;
-void dissect_mux27010(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
-
static const value_string packettypenames[] = {
{ 0, "TEXT" },
{ 1, "SOMETHING_ELSE" },
@@ -1371,6 +1368,8 @@ proto_register_mux27010 (void)
void
proto_reg_handoff_mux27010(void)
{
+ dissector_handle_t mux27010_handle;
+
/*Initialization of dissector*/
mux27010_handle = create_dissector_handle(dissect_mux27010, proto_mux27010);
dissector_add_uint("wtap_encap", WTAP_ENCAP_MUX27010, mux27010_handle);