summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-01 11:45:44 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-01 04:19:05 +0200
commit5f176378a802703778ae07c36e95fe186b6e57a8 (patch)
tree2ee50650b58c71ef263fd4260afda5dd8578157a /source3/include/proto.h
parentf331936db2990589047edd4aee61ac298262123d (diff)
downloadsamba-5f176378a802703778ae07c36e95fe186b6e57a8.tar.gz
samba-5f176378a802703778ae07c36e95fe186b6e57a8.tar.bz2
samba-5f176378a802703778ae07c36e95fe186b6e57a8.zip
s3-param Make lp_lockdir() const
This disables % substitutions in the 'lock dir' parameter. This is used all over the codebase, and needs to be internally consistent for the life of the process, as they determine the location of our locking databases. Andrew Bartlett
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 93ba2beaa7..363d5e761a 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1190,7 +1190,7 @@ char *lp_enumports_cmd(void);
char *lp_addprinter_cmd(void);
char *lp_deleteprinter_cmd(void);
char *lp_os2_driver_map(void);
-char *lp_lockdir(void);
+const char *lp_lockdir(void);
char *lp_statedir(void);
char *lp_cachedir(void);
char *lp_piddir(void);