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:
Guy Harris 2012-09-08 17:16:51 +00:00
parent d574361f5c
commit c16ff99f81
4 changed files with 6 additions and 6 deletions

View File

@ -192,7 +192,7 @@ def_sym_filter_symbols =
if !HAVE_PLUGINS
# If we're not building plugins, these symbols don't get built.
# 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
if !HAVE_LIBPY

View File

@ -910,7 +910,6 @@ reassembled_table_init
register_all_plugin_tap_listeners
register_all_protocols
register_all_protocol_handoffs
register_all_wiretap_modules
register_ber_oid_dissector
register_ber_oid_dissector_handle
register_ber_oid_syntax

View File

@ -60,6 +60,9 @@ wslua_plugin *wslua_plugin_list = NULL;
/* linked list of all plugins */
plugin *plugin_list = NULL;
static void register_all_wiretap_modules(void);
static void register_all_codecs(void);
/*
* add a new plugin to the list
* returns :
@ -475,7 +478,7 @@ register_all_plugin_tap_listeners(void)
}
}
void
static void
register_all_wiretap_modules(void)
{
plugin *pt_plug;
@ -491,7 +494,7 @@ register_all_wiretap_modules(void)
}
}
void
static void
register_all_codecs(void)
{
plugin *pt_plug;

View File

@ -52,8 +52,6 @@ extern void init_plugins(void);
extern void register_all_plugin_registrations(void);
extern void register_all_plugin_handoffs(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);
typedef struct _wslua_plugin {