diff options
Diffstat (limited to 'plugins/giop/packet-cosnaming.c')
-rw-r--r-- | plugins/giop/packet-cosnaming.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/plugins/giop/packet-cosnaming.c b/plugins/giop/packet-cosnaming.c index 44e6229ff8..057a83dd91 100644 --- a/plugins/giop/packet-cosnaming.c +++ b/plugins/giop/packet-cosnaming.c @@ -1737,18 +1737,16 @@ void proto_register_handoff_giop_cosnaming(void) { #ifndef ENABLE_STATIC G_MODULE_EXPORT void -plugin_reg_handoff(void){ - proto_register_handoff_giop_cosnaming(); -} - -G_MODULE_EXPORT void -new_plugin_init(void) +plugin_register(void) { if (proto_cosnaming == -1) { proto_register_giop_cosnaming(); } } -#endif - +G_MODULE_EXPORT void +plugin_reg_handoff(void){ + proto_register_handoff_giop_cosnaming(); +} +#endif |