diff options
Diffstat (limited to 'plugins/enttec/packet-enttec.c')
-rw-r--r-- | plugins/enttec/packet-enttec.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/plugins/enttec/packet-enttec.c b/plugins/enttec/packet-enttec.c index 84799bcfea..86d66ad28e 100644 --- a/plugins/enttec/packet-enttec.c +++ b/plugins/enttec/packet-enttec.c @@ -30,11 +30,8 @@ #include "config.h" #endif -#include "moduleinfo.h" - #include <stdio.h> #include <stdlib.h> -#include <gmodule.h> #include <ctype.h> #include <time.h> #include <string.h> @@ -43,12 +40,6 @@ #include <epan/prefs.h> #include <epan/strutil.h> -/* Define version if we are not building ethereal statically */ - -#ifndef ENABLE_STATIC -G_MODULE_EXPORT const gchar version[] = VERSION; -#endif - /* * See * @@ -581,26 +572,3 @@ proto_reg_handoff_enttec(void) { dissector_add("udp.port",global_udp_port_enttec,enttec_handle); dissector_add("tcp.port",global_tcp_port_enttec,enttec_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_enttec == -1) { /* execute protocol initialization only once */ - proto_register_enttec(); - } -} - -G_MODULE_EXPORT void -plugin_reg_handoff(void){ - proto_reg_handoff_enttec(); -} - -#endif - -/* End the functions we need for plugin stuff */ - |