summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
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 de4ed05134..35c26c2bb1 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 42b9bad1ac..5459365c37 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;
}