Make register_all_wiretap_modules() and register_all_codecs() static;
they're only used internally to epan/plugins.c. svn path=/trunk/; revision=44815
This commit is contained in:
parent
d574361f5c
commit
c16ff99f81
|
@ -192,7 +192,7 @@ def_sym_filter_symbols =
|
||||||
if !HAVE_PLUGINS
|
if !HAVE_PLUGINS
|
||||||
# If we're not building plugins, these symbols don't get built.
|
# If we're not building plugins, these symbols don't get built.
|
||||||
# Keep them out of the symbol list.
|
# Keep them out of the symbol list.
|
||||||
def_sym_filter_symbols += /^register_all_wiretap_modules/ || /^register_all_plugin_tap_listeners/ || /^plugin_list/ {next;};
|
def_sym_filter_symbols += /^register_all_plugin_tap_listeners/ || /^plugin_list/ {next;};
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if !HAVE_LIBPY
|
if !HAVE_LIBPY
|
||||||
|
|
|
@ -910,7 +910,6 @@ reassembled_table_init
|
||||||
register_all_plugin_tap_listeners
|
register_all_plugin_tap_listeners
|
||||||
register_all_protocols
|
register_all_protocols
|
||||||
register_all_protocol_handoffs
|
register_all_protocol_handoffs
|
||||||
register_all_wiretap_modules
|
|
||||||
register_ber_oid_dissector
|
register_ber_oid_dissector
|
||||||
register_ber_oid_dissector_handle
|
register_ber_oid_dissector_handle
|
||||||
register_ber_oid_syntax
|
register_ber_oid_syntax
|
||||||
|
|
|
@ -60,6 +60,9 @@ wslua_plugin *wslua_plugin_list = NULL;
|
||||||
/* linked list of all plugins */
|
/* linked list of all plugins */
|
||||||
plugin *plugin_list = NULL;
|
plugin *plugin_list = NULL;
|
||||||
|
|
||||||
|
static void register_all_wiretap_modules(void);
|
||||||
|
static void register_all_codecs(void);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* add a new plugin to the list
|
* add a new plugin to the list
|
||||||
* returns :
|
* returns :
|
||||||
|
@ -475,7 +478,7 @@ register_all_plugin_tap_listeners(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
register_all_wiretap_modules(void)
|
register_all_wiretap_modules(void)
|
||||||
{
|
{
|
||||||
plugin *pt_plug;
|
plugin *pt_plug;
|
||||||
|
@ -491,7 +494,7 @@ register_all_wiretap_modules(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
register_all_codecs(void)
|
register_all_codecs(void)
|
||||||
{
|
{
|
||||||
plugin *pt_plug;
|
plugin *pt_plug;
|
||||||
|
|
|
@ -52,8 +52,6 @@ extern void init_plugins(void);
|
||||||
extern void register_all_plugin_registrations(void);
|
extern void register_all_plugin_registrations(void);
|
||||||
extern void register_all_plugin_handoffs(void);
|
extern void register_all_plugin_handoffs(void);
|
||||||
extern void register_all_plugin_tap_listeners(void);
|
extern void register_all_plugin_tap_listeners(void);
|
||||||
extern void register_all_wiretap_modules(void);
|
|
||||||
extern void register_all_codecs(void);
|
|
||||||
extern void plugins_dump_all(void);
|
extern void plugins_dump_all(void);
|
||||||
|
|
||||||
typedef struct _wslua_plugin {
|
typedef struct _wslua_plugin {
|
||||||
|
|
Loading…
Reference in New Issue