From ec64f7907d290276485e61b540e844bf1c839713 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 27 Jul 2012 11:11:58 +1000 Subject: lib/param: Mark lpcfg_cachedir and lpcfg_statedir as const char * This matters as we sync up the declarations with the source3/param code. Andrew Bartlett Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Fri Jul 27 05:26:45 CEST 2012 on sn-devel-104 --- lib/param/loadparm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/param') diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 1fce8b9dcf..2dcf06c910 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -327,8 +327,8 @@ static struct loadparm_context *global_loadparm_context; /* These functions remain only in lib/param for now */ FN_GLOBAL_BOOL(readraw, bReadRaw) FN_GLOBAL_BOOL(writeraw, bWriteRaw) -FN_GLOBAL_STRING(cachedir, szCacheDir) -FN_GLOBAL_STRING(statedir, szStateDir) +FN_GLOBAL_CONST_STRING(cachedir, szCacheDir) +FN_GLOBAL_CONST_STRING(statedir, szStateDir) /* local prototypes */ static int map_parameter(const char *pszParmName); -- cgit