aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/prefs.c2
-rw-r--r--epan/prefs.h9
2 files changed, 1 insertions, 10 deletions
diff --git a/epan/prefs.c b/epan/prefs.c
index 7d1ac2ae5a..5e0b8e6268 100644
--- a/epan/prefs.c
+++ b/epan/prefs.c
@@ -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))
{
diff --git a/epan/prefs.h b/epan/prefs.h
index cd88dac9b4..4a8566c63f 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -270,15 +270,6 @@ WS_DLL_PUBLIC void prefs_reset(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.
*/
WS_DLL_PUBLIC module_t *prefs_register_protocol(int id, void (*apply_cb)(void));