aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/rdm/packet-rdm.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/rdm/packet-rdm.c')
-rw-r--r--plugins/rdm/packet-rdm.c34
1 files changed, 2 insertions, 32 deletions
diff --git a/plugins/rdm/packet-rdm.c b/plugins/rdm/packet-rdm.c
index 6d7874b59a..7482c84e8c 100644
--- a/plugins/rdm/packet-rdm.c
+++ b/plugins/rdm/packet-rdm.c
@@ -30,25 +30,18 @@
#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>
+
+#include <glib.h>
#include <epan/packet.h>
#include <epan/addr_resolv.h>
#include <epan/etypes.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 http://www.esta.org/tsp/E1-20inst.htm
*
@@ -262,26 +255,3 @@ proto_reg_handoff_rdm(void) {
dissector_add("udp.port",0,rdm_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_rdm == -1) { /* execute protocol initialization only once */
- proto_register_rdm();
- }
-}
-
-G_MODULE_EXPORT void
-plugin_reg_handoff(void){
- proto_reg_handoff_rdm();
-}
-
-#endif
-
-/* End the functions we need for plugin stuff */
-