summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/dynconfig.c2
-rw-r--r--source3/include/dynconfig.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/dynconfig.c b/source3/dynconfig.c
index a12eee1506..34603fee86 100644
--- a/source3/dynconfig.c
+++ b/source3/dynconfig.c
@@ -61,4 +61,4 @@ pstring dyn_LIBDIR;
*
* Not writable, but used to set a default in the parameter table.
**/
-pstring dyn_LOCKDIR;
+const pstring dyn_LOCKDIR;
diff --git a/source3/include/dynconfig.h b/source3/include/dynconfig.h
index 3aba194ab2..b6a186f91b 100644
--- a/source3/include/dynconfig.h
+++ b/source3/include/dynconfig.h
@@ -29,4 +29,5 @@ extern char const *dyn_SBINDIR,
extern pstring dyn_CONFIGFILE;
extern pstring dyn_LOGFILEBASE, dyn_LMHOSTSFILE;
-extern pstring dyn_LIBDIR, dyn_LOCKDIR;
+extern pstring dyn_LIBDIR;
+extern const pstring dyn_LOCKDIR;