Make prefs_register_subtree() static too.

It's not used outside epan/prefs.c, and it probably shouldn't be.

Change-Id: I8a10961a33b93db1de982eec264c134f9f3bc66c
Reviewed-on: https://code.wireshark.org/review/21096
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2017-04-14 13:44:08 -07:00
parent 6dd6fc9eff
commit ccef2d8860
2 changed files with 1 additions and 10 deletions

View File

@ -455,7 +455,7 @@ prefs_deregister_module(module_t *parent, const char *name, const char *title)
* at the top level and the title used in the tab for it in a preferences
* dialog box.
*/
module_t *
static module_t *
prefs_register_subtree(module_t *parent, const char *title, const char *description,
void (*apply_cb)(void))
{

View File

@ -269,15 +269,6 @@ WS_DLL_PUBLIC void prefs_reset(void);
/** Frees memory used by proto routines. Called at program shutdown */
void prefs_cleanup(void);
/*
* Register a subtree that will have modules under it.
* Specify the module under which to register it or NULL to register it
* at the top level and the title used in the tab for it in a preferences
* dialog box.
*/
WS_DLL_PUBLIC module_t *prefs_register_subtree(module_t *parent, const char *title,
const char *description, void (*apply_cb)(void));
/*
* Register that a protocol has preferences.
*/