summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}