s3:loadparm: make lp_set_in_client() static - only used in wrappers in loadparm now.
authorMichael Adam <obnox@samba.org>
Tue, 26 Jul 2011 10:53:52 +0000 (12:53 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 28 Jul 2011 09:17:29 +0000 (11:17 +0200)
source3/include/proto.h
source3/param/loadparm.c

index de4ed05134dd63acc1498609587c9f0ddafd9223..35c26c2bb14bea5a69127ebedeb24348126ac446 100644 (file)
@@ -1610,7 +1610,6 @@ enum usershare_err parse_usershare_file(TALLOC_CTX *ctx,
 int load_usershare_service(const char *servicename);
 int load_usershare_shares(struct smbd_server_connection *sconn);
 void gfree_loadparm(void);
-void lp_set_in_client(bool b);
 bool lp_load(const char *pszFname,
             bool global_only,
             bool save_defaults,
index 42b9bad1ac77242b7231f6676014da8435673e5f..5459365c37d57d48050b35a6f67b7d8b6025d517 100644 (file)
@@ -8940,7 +8940,7 @@ void gfree_loadparm(void)
 /***************************************************************************
  Allow client apps to specify that they are a client
 ***************************************************************************/
-void lp_set_in_client(bool b)
+static void lp_set_in_client(bool b)
 {
     in_client = b;
 }