aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_um.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-01-28 16:18:00 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-01-28 16:18:00 +0000
commitbc462dd1d063b2e8e1090f5a5048e054e92a48ef (patch)
tree815dde8963d0ba0c00e782d046c024fd0c655a0e /epan/dissectors/packet-gsm_um.c
parent8b2c518157a0402556a67b2d1bb06e98ef0ab900 (diff)
Use standard format (proto_reg_handoff last in the file).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27319 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gsm_um.c')
-rw-r--r--epan/dissectors/packet-gsm_um.c31
1 files changed, 15 insertions, 16 deletions
diff --git a/epan/dissectors/packet-gsm_um.c b/epan/dissectors/packet-gsm_um.c
index 4f98fb6d9f..c4c2aee277 100644
--- a/epan/dissectors/packet-gsm_um.c
+++ b/epan/dissectors/packet-gsm_um.c
@@ -235,22 +235,6 @@ dissect_gsm_um(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
}
-
-void
-proto_reg_handoff_gsm_um(void)
-{
- dissector_handle_t gsm_um_handle;
-
- lapdm_handle = find_dissector("lapdm");
- dtap_handle = find_dissector("gsm_a_dtap");
- data_handle = find_dissector("data");
-
- gsm_um_handle = create_dissector_handle(dissect_gsm_um, proto_gsm_um);
-
- dissector_add("wtap_encap", WTAP_ENCAP_GSM_UM, gsm_um_handle);
-}
-
-
void
proto_register_gsm_um(void)
{
@@ -304,3 +288,18 @@ proto_register_gsm_um(void)
&dcs1800_gsm);
}
+
+void
+proto_reg_handoff_gsm_um(void)
+{
+ dissector_handle_t gsm_um_handle;
+
+ lapdm_handle = find_dissector("lapdm");
+ dtap_handle = find_dissector("gsm_a_dtap");
+ data_handle = find_dissector("data");
+
+ gsm_um_handle = create_dissector_handle(dissect_gsm_um, proto_gsm_um);
+
+ dissector_add("wtap_encap", WTAP_ENCAP_GSM_UM, gsm_um_handle);
+}
+