diff options
author | Michael Adam <obnox@samba.org> | 2012-11-16 01:00:21 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-11-16 03:33:34 +0100 |
commit | d7cab973fc3213ff777bff519eb001ae7d1c1bdc (patch) | |
tree | 49bfe4aa48de782a1c613967f2df82a2fa63c7d8 /source3 | |
parent | 3fc2c03ea3dcc36778e92115a0dbca42531bd4dd (diff) | |
download | samba-d7cab973fc3213ff777bff519eb001ae7d1c1bdc.tar.gz samba-d7cab973fc3213ff777bff519eb001ae7d1c1bdc.tar.bz2 samba-d7cab973fc3213ff777bff519eb001ae7d1c1bdc.zip |
s3:param: make init_locals() static.
it is only used in loadparm.c
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Nov 16 03:33:34 CET 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/param/loadparm.c | 2 |
2 files changed, 1 insertions, 2 deletions
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 |