summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-22 17:24:38 +0200
committerMichael Adam <obnox@samba.org>2011-07-28 11:17:26 +0200
commit0b21c7750f360da466045587d1d7872a80d2153c (patch)
tree4bac9621de9547844e05fd6f71983c4e886ffd53 /source3
parent37f548d788c69fa45311dd294edcc06a38599712 (diff)
downloadsamba-0b21c7750f360da466045587d1d7872a80d2153c.tar.gz
samba-0b21c7750f360da466045587d1d7872a80d2153c.tar.bz2
samba-0b21c7750f360da466045587d1d7872a80d2153c.zip
s3:loadparm: make lp_is_in_client() static - only used inside loadparm
Diffstat (limited to 'source3')
-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 6e9364c710..f64c4d15e8 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1611,7 +1611,6 @@ 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_is_in_client(void);
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 2b640fea06..3409a34aa2 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -8949,7 +8949,7 @@ void lp_set_in_client(bool b)
/***************************************************************************
Determine if we're running in a client app
***************************************************************************/
-bool lp_is_in_client(void)
+static bool lp_is_in_client(void)
{
return in_client;
}