diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-07-27 11:11:58 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-07-27 05:26:45 +0200 |
commit | ec64f7907d290276485e61b540e844bf1c839713 (patch) | |
tree | 416670d6fab351f1586c6cf854b0c82d95d3dfb3 /lib/param | |
parent | ca2482073627994d6a8c0be6dcf6463aba889635 (diff) | |
download | samba-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
Diffstat (limited to 'lib/param')
-rw-r--r-- | lib/param/loadparm.c | 4 |
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); |