aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mysql.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2006-07-18 21:16:02 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2006-07-18 21:16:02 +0000
commit7c0810d601cd1547cf0e6ff3db036973f6b44941 (patch)
tree4ce64557aef35b2afc4acc6a60a9fc01a61a935b /epan/dissectors/packet-mysql.c
parent18b35fe026cb2b3fafdf529462eca4c553956507 (diff)
Remove leftover(?) plugin code.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18761 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-mysql.c')
-rw-r--r--epan/dissectors/packet-mysql.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/epan/dissectors/packet-mysql.c b/epan/dissectors/packet-mysql.c
index 27c27b53d4..29b1e85946 100644
--- a/epan/dissectors/packet-mysql.c
+++ b/epan/dissectors/packet-mysql.c
@@ -49,13 +49,6 @@
#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)
{