From 0b21c7750f360da466045587d1d7872a80d2153c Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 22 Jul 2011 17:24:38 +0200 Subject: s3:loadparm: make lp_is_in_client() static - only used inside loadparm --- source3/include/proto.h | 1 - source3/param/loadparm.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'source3') 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; } -- cgit