summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-26 12:53:52 +0200
committerMichael Adam <obnox@samba.org>2011-07-28 11:17:29 +0200
commitc2aa8e5d6377481cec6f36fea8d3165c5d99e098 (patch)
tree00fb8657fcd5a4d8490a3f4df1033e11d9d03e57
parentc9efe307cb288eb6cabbe0f781326164e9e30414 (diff)
downloadsamba-c2aa8e5d6377481cec6f36fea8d3165c5d99e098.tar.gz
samba-c2aa8e5d6377481cec6f36fea8d3165c5d99e098.tar.xz
samba-c2aa8e5d6377481cec6f36fea8d3165c5d99e098.zip
s3:loadparm: make lp_set_in_client() static - only used in wrappers in loadparm now.
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/param/loadparm.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index de4ed05134d..35c26c2bb14 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -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,
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 42b9bad1ac7..5459365c37d 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -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;
}