From 4b206d1b06f829bcfe3268fd166d5500ae5e3aaf Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Fri, 4 Dec 2015 14:08:04 +0100 Subject: Export prefs_register_module() and prefs_register_subtree() functions Change-Id: I09796eadb5fb8b564adfab5060715571983b1bb3 Reviewed-on: https://code.wireshark.org/review/12428 Reviewed-by: Pascal Quantin Petri-Dish: Pascal Quantin Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte --- epan/prefs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/prefs.h') diff --git a/epan/prefs.h b/epan/prefs.h index 3ffc5313ee..8300c10670 100644 --- a/epan/prefs.h +++ b/epan/prefs.h @@ -273,7 +273,7 @@ void prefs_cleanup(void); * name is the protocol name specified at the "proto_register_protocol()" * call so that the "Protocol Properties..." menu item works. */ -module_t *prefs_register_module(module_t *parent, const char *name, +WS_DLL_PUBLIC module_t *prefs_register_module(module_t *parent, const char *name, const char *title, const char *description, void (*apply_cb)(void), const gboolean use_gui); @@ -283,7 +283,7 @@ module_t *prefs_register_module(module_t *parent, const char *name, * at the top level and the title used in the tab for it in a preferences * dialog box. */ -module_t *prefs_register_subtree(module_t *parent, const char *title, +WS_DLL_PUBLIC module_t *prefs_register_subtree(module_t *parent, const char *title, const char *description, void (*apply_cb)(void)); /* -- cgit v1.2.3