Remove leftover(?) plugin code.
authorAnders Broman <anders.broman@ericsson.com>
Tue, 18 Jul 2006 21:16:02 +0000 (21:16 -0000)
committerAnders Broman <anders.broman@ericsson.com>
Tue, 18 Jul 2006 21:16:02 +0000 (21:16 -0000)
svn path=/trunk/; revision=18761

epan/dissectors/packet-mysql.c

index 27c27b53d4ae27861c8c402f41cdacab188ea195..29b1e85946960d6bbf8c105a23ac7754a0b11596 100644 (file)
 #include <epan/reassemble.h>
 #include <epan/prefs.h>
 
-/* Define version if we are not building wireshark statically */
-#ifndef ENABLE_STATIC
-#include <gmodule.h>
-G_MODULE_EXPORT const gchar version[] = "0.1";
-#endif
-
-
 /* port for protocol registration */
 #define TCP_PORT_MySQL   3306
 
@@ -495,22 +488,6 @@ static gint my_tvb_strsize(tvbuff_t *tvb, int offset);
 static int tvb_get_fle(tvbuff_t *tvb, int offset, guint64 *res, guint8 *is_null);
 
 
-
-/* plugin registration (if compiled as plugin) */
-#ifndef ENABLE_STATIC
-G_MODULE_EXPORT void plugin_register(void)
-{
-       if (proto_mysql == -1) { /* only once */
-               proto_register_mysql();
-       }
-}
-
-G_MODULE_EXPORT void plugin_reg_handoff(void){
-       proto_reg_handoff_mysql();
-}
-#endif
-
-
 /* dissector registration */
 void proto_reg_handoff_mysql(void)
 {