s3:loadparm: make lp_load_ex static. We have wrappers for external callers.
authorMichael Adam <obnox@samba.org>
Fri, 20 Aug 2010 09:14:06 +0000 (11:14 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 20 Aug 2010 09:14:06 +0000 (11:14 +0200)
source3/include/proto.h
source3/param/loadparm.c

index 4f63a77e992b0bff82c0e7e81d11840177f2aba5..09c34ed3e75007dd2ab6d30f1701aae8a3572c5c 100644 (file)
@@ -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,
index f02ef261df0f3d80b89c0ce9547253424f3ed809..340031b45f5da6c12b9241c856e37b988409aba2 100644 (file)
@@ -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;