summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-27 11:11:58 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-27 05:26:45 +0200
commitec64f7907d290276485e61b540e844bf1c839713 (patch)
tree416670d6fab351f1586c6cf854b0c82d95d3dfb3
parentca2482073627994d6a8c0be6dcf6463aba889635 (diff)
downloadsamba-ec64f7907d290276485e61b540e844bf1c839713.tar.gz
samba-ec64f7907d290276485e61b540e844bf1c839713.tar.bz2
samba-ec64f7907d290276485e61b540e844bf1c839713.zip
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 <abartlet@samba.org> Autobuild-Date(master): Fri Jul 27 05:26:45 CEST 2012 on sn-devel-104
-rw-r--r--lib/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
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);