From bc8357e204d32c5feb144dfad026153861f28061 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 26 May 2007 03:15:51 +0000 Subject: Get rid of the old-style plugin registration stuff. svn path=/trunk/; revision=21950 --- plugins/m2m/packet-m2m.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'plugins/m2m') 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) -- cgit v1.2.3