summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 92c8850cef..be108aa405 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -1859,7 +1859,7 @@ char *myhostname(void)
/*****************************************************************
a useful function for returning a path in the Samba lock directory
*****************************************************************/
-char *lock_path(char *name)
+char *lock_path(const char *name)
{
static pstring fname;
@@ -1879,7 +1879,7 @@ char *lock_path(char *name)
/*****************************************************************
a useful function for returning a path in the Samba pid directory
*****************************************************************/
-char *pid_path(char *name)
+char *pid_path(const char *name)
{
static pstring fname;
@@ -1904,7 +1904,7 @@ char *pid_path(char *name)
*
* @retval Pointer to a static #pstring containing the full path.
**/
-char *lib_path(char *name)
+char *lib_path(const char *name)
{
static pstring fname;
snprintf(fname, sizeof(fname), "%s/%s", dyn_LIBDIR, name);