diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-05-26 18:26:46 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-05-26 18:26:46 +0000 |
commit | 62955d62fe70b3f1b8d8bf2d330fbc42893ca1ff (patch) | |
tree | bd0fbb8f5e0a4a11515a640e1e4ca736ed403133 /plugins/wimax/packet-wmx.c | |
parent | 292543bc1cf207377fd130e972c3107d9235c330 (diff) |
Convert to the new style of building plugins; hopefully this'll fix the
rest of the distcheck issues.
svn path=/trunk/; revision=21953
Diffstat (limited to 'plugins/wimax/packet-wmx.c')
-rw-r--r-- | plugins/wimax/packet-wmx.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/plugins/wimax/packet-wmx.c b/plugins/wimax/packet-wmx.c index cb2c218d8e..7cac119a02 100644 --- a/plugins/wimax/packet-wmx.c +++ b/plugins/wimax/packet-wmx.c @@ -44,11 +44,6 @@ #include "wimax_tlv.h" #include "wimax_bits.h" -/* Define version if we are not building Wireshark statically */ -#ifndef ENABLE_STATIC -G_MODULE_EXPORT const gchar version[] = VERSION; -#endif - /* WiMax dissector function prototypes */ extern void proto_register_wimax_cdma(void); extern void proto_register_wimax_fch(void); @@ -811,23 +806,6 @@ proto_tree *add_protocol_subtree(tlv_info_t *this, gint idx, proto_tree *tree, i } -#ifndef ENABLE_STATIC -/* for plugins only */ -G_MODULE_EXPORT void plugin_register(void) -{ - /* register the new protocol, protocol fields, and subtrees */ - if (proto_wimax == -1) - { /* execute protocol initialization only once */ - proto_register_wimax(); - } -} - -G_MODULE_EXPORT void plugin_reg_handoff(void) -{ - proto_reg_wimax(); -} -#endif - /* Register Wimax Protocol */ void proto_register_wimax(void) { |