From d7cab973fc3213ff777bff519eb001ae7d1c1bdc Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 16 Nov 2012 01:00:21 +0100 Subject: s3:param: make init_locals() static. it is only used in loadparm.c Signed-off-by: Michael Adam Reviewed-by: Andrew Bartlett Autobuild-User(master): Michael Adam Autobuild-Date(master): Fri Nov 16 03:33:34 CET 2012 on sn-devel-104 --- 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 5f3d937ee0..bcecde955d 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1408,7 +1408,6 @@ void *lp_local_ptr_by_snum(int snum, struct parm_struct *parm); bool lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue); bool lp_set_cmdline(const char *pszParmName, const char *pszParmValue); bool lp_set_option(const char *option); -void init_locals(void); bool lp_is_default(int snum, struct parm_struct *parm); bool dump_a_parameter(int snum, char *parm_name, FILE * f, bool isGlobal); struct parm_struct *lp_get_parameter(const char *param_name); diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 5229a5444a..8ad0fc953a 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -3473,7 +3473,7 @@ static bool equal_parameter(parm_type type, void *ptr1, void *ptr2) [globals] section. ***************************************************************************/ -void init_locals(void) +static void init_locals(void) { /* * We run this check once the [globals] is parsed, to force -- cgit