diff options
Diffstat (limited to 'plugins/acn/packet-acn.c')
-rw-r--r-- | plugins/acn/packet-acn.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/plugins/acn/packet-acn.c b/plugins/acn/packet-acn.c index a68ff22bdd..c572affc52 100644 --- a/plugins/acn/packet-acn.c +++ b/plugins/acn/packet-acn.c @@ -30,8 +30,6 @@ #include "config.h" #endif -#include "moduleinfo.h" - #include <stdio.h> #include <stdlib.h> #include <ctype.h> @@ -39,7 +37,6 @@ #include <string.h> #include <glib.h> -#include <gmodule.h> #include <epan/packet.h> #include <epan/addr_resolv.h> @@ -48,12 +45,6 @@ #include "acn.h" -/* Define version if we are not building ethereal statically */ - -#ifndef ENABLE_STATIC -G_MODULE_EXPORT const gchar version[] = VERSION; -#endif - /* * See * @@ -1192,26 +1183,3 @@ proto_reg_handoff_acn(void) { dissector_add("udp.port",global_udp_port_acn,acn_handle); } - -/* Start the functions we need for the plugin stuff */ - -#ifndef ENABLE_STATIC - -G_MODULE_EXPORT void -plugin_register(void) -{ - /* register the new protocol, protocol fields, and subtrees */ - if (proto_acn == -1) { /* execute protocol initialization only once */ - proto_register_acn(); - } -} - -G_MODULE_EXPORT void -plugin_reg_handoff(void){ - proto_reg_handoff_acn(); -} - -#endif - -/* End the functions we need for plugin stuff */ - |