aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/m2m
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-05-26 03:15:51 +0000
committerGuy Harris <guy@alum.mit.edu>2007-05-26 03:15:51 +0000
commitbc8357e204d32c5feb144dfad026153861f28061 (patch)
tree8a88f756da9112a401288a4df537aa4ba8fe66f0 /plugins/m2m
parent4cfdd8ebb613330a7a9d0f75e299f27c2fb53bb1 (diff)
Get rid of the old-style plugin registration stuff.
svn path=/trunk/; revision=21950
Diffstat (limited to 'plugins/m2m')
-rw-r--r--plugins/m2m/packet-m2m.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/m2m/packet-m2m.c b/plugins/m2m/packet-m2m.c
index 41bf1884d1..9b173de8d5 100644
--- a/plugins/m2m/packet-m2m.c
+++ b/plugins/m2m/packet-m2m.c
@@ -50,7 +50,6 @@ G_MODULE_EXPORT const gchar version[] = VERSION;
/* forward reference */
void proto_register_m2m();
-void proto_reg_handoff_m2m(void);
static void dissect_m2m(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
static void fch_burst_decoder(proto_tree *tree, tvbuff_t *tvb, gint offset, gint length, packet_info *pinfo);
static void cdma_code_decoder(proto_tree *tree, tvbuff_t *tvb, gint offset, gint length, packet_info *pinfo);
@@ -367,23 +366,6 @@ static hf_register_info hf_tlv[] =
}
};
-#ifndef ENABLE_STATIC
-/* for plugins only */
-G_MODULE_EXPORT void plugin_register(void)
-{
- /* register the new protocol, protocol fields, and subtrees */
- if (proto_m2m == -1)
- { /* execute protocol initialization only once */
- proto_register_m2m();
- }
-}
-
-G_MODULE_EXPORT void plugin_reg_handoff(void)
-{
- proto_reg_handoff_m2m();
-}
-#endif
-
/* Register M2M defrag table init routine. */
static void
m2m_defragment_init(void)