summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h7
-rw-r--r--source3/param/loadparm.c14
2 files changed, 7 insertions, 14 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 4f63a77e99..09c34ed3e7 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4016,13 +4016,6 @@ int load_usershare_shares(void);
void gfree_loadparm(void);
void lp_set_in_client(bool b);
bool lp_is_in_client(void);
-bool lp_load_ex(const char *pszFname,
- bool global_only,
- bool save_defaults,
- bool add_ipc,
- bool initialize_globals,
- bool allow_include_registry,
- bool allow_registry_shares);
bool lp_load(const char *pszFname,
bool global_only,
bool save_defaults,
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index f02ef261df..340031b45f 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -9162,13 +9162,13 @@ bool lp_is_in_client(void)
False on failure.
***************************************************************************/
-bool lp_load_ex(const char *pszFname,
- bool global_only,
- bool save_defaults,
- bool add_ipc,
- bool initialize_globals,
- bool allow_include_registry,
- bool allow_registry_shares)
+static bool lp_load_ex(const char *pszFname,
+ bool global_only,
+ bool save_defaults,
+ bool add_ipc,
+ bool initialize_globals,
+ bool allow_include_registry,
+ bool allow_registry_shares)
{
char *n2 = NULL;
bool bRetval;