Preparations for dropping the old plugin api.
[obnox/wireshark/wip.git] / plugins / mgcp / packet-mgcp.c
index 3ff7bd61582f7b4f1b525b340ef12470c208e778..cc76d8211deca05e5ec7b95558d3769fcf517016 100644 (file)
@@ -36,8 +36,6 @@
 #include "config.h"
 #endif
 
-#include "plugins/plugin_api.h"
-
 #include "moduleinfo.h"
 
 #include <stdio.h>
@@ -54,8 +52,6 @@
 #include <epan/tap.h>
 #include "packet-mgcp.h"
 
-#include "plugins/plugin_api_defs.h"
-
 #ifndef ENABLE_STATIC
 G_MODULE_EXPORT const gchar version[] = VERSION;
 #endif
@@ -1759,14 +1755,8 @@ plugin_reg_handoff(void){
 }
 
 G_MODULE_EXPORT void
-plugin_init(plugin_address_table_t *pat
-#ifndef PLUGINS_NEED_ADDRESS_TABLE
-_U_
-#endif
-){
-  /* initialise the table of pointers needed in Win32 DLLs */
-  plugin_address_table_init(pat);
-  
+new_plugin_init(void)
+{
   /* register the new protocol, protocol fields, and subtrees */
   if (proto_mgcp == -1) { /* execute protocol initialization only once */
     proto_register_mgcp();