Preparations for dropping the old plugin api.
[obnox/wireshark/wip.git] / plugins / giop / packet-cosnaming.c
index 87c3982c70e83ca504ac85023bb05a390f97a5a6..44e6229ff866e6bfb0f3658aec7c398578639f49 100644 (file)
@@ -35,8 +35,6 @@
 # include "config.h"
 #endif
 
-#include "plugins/plugin_api.h"
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <gmodule.h>
@@ -47,8 +45,6 @@
 #include <epan/proto.h>
 #include <epan/dissectors/packet-giop.h>
 
-#include "plugins/plugin_api_defs.h"
-
 #ifndef ENABLE_STATIC
 G_MODULE_EXPORT const gchar version[] = "0.0.1";
 #endif
@@ -1746,13 +1742,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)
+{
    if (proto_cosnaming == -1) {
      proto_register_giop_cosnaming();
    }