forked from osmocom/wireshark
Change to new_plugin_init()
svn path=/trunk/; revision=13612
This commit is contained in:
parent
39ad72864f
commit
c6694e7354
|
@ -44,9 +44,7 @@ static gboolean initialized = FALSE;
|
|||
#ifndef ENABLE_STATIC
|
||||
G_MODULE_EXPORT const gchar version[] = VERSION;
|
||||
|
||||
G_MODULE_EXPORT void plugin_init(plugin_address_table_t *pat _U_ ) {
|
||||
/* initialise the table of pointers needed in Win32 DLLs */
|
||||
plugin_address_table_init(pat);
|
||||
G_MODULE_EXPORT void new_plugin_init(void) {
|
||||
|
||||
/* register the new protocol, protocol fields, and subtrees */
|
||||
if (! initialized ) { /* execute protocol initialization only once */
|
||||
|
|
Loading…
Reference in New Issue