forked from osmocom/wireshark
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:
parent
6dd6fc9eff
commit
ccef2d8860
|
@ -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
|
* at the top level and the title used in the tab for it in a preferences
|
||||||
* dialog box.
|
* dialog box.
|
||||||
*/
|
*/
|
||||||
module_t *
|
static module_t *
|
||||||
prefs_register_subtree(module_t *parent, const char *title, const char *description,
|
prefs_register_subtree(module_t *parent, const char *title, const char *description,
|
||||||
void (*apply_cb)(void))
|
void (*apply_cb)(void))
|
||||||
{
|
{
|
||||||
|
|
|
@ -269,15 +269,6 @@ WS_DLL_PUBLIC void prefs_reset(void);
|
||||||
/** Frees memory used by proto routines. Called at program shutdown */
|
/** Frees memory used by proto routines. Called at program shutdown */
|
||||||
void prefs_cleanup(void);
|
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.
|
* Register that a protocol has preferences.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue