summaryrefslogtreecommitdiffstats
path: root/source/lib
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2001-12-31 15:48:32 +0000
committerSimo Sorce <idra@samba.org>2001-12-31 15:48:32 +0000
commitc0904d96170a9166b8cd405b75ce4a9bbc32ad1b (patch)
treeda5eb8f993986c88f882ad5bbfef91fdb1707768 /source/lib
parentf796f18a83cd2fc0988612aa38c794f005efbfaf (diff)
downloadsamba-c0904d96170a9166b8cd405b75ce4a9bbc32ad1b.tar.gz
samba-c0904d96170a9166b8cd405b75ce4a9bbc32ad1b.tar.xz
samba-c0904d96170a9166b8cd405b75ce4a9bbc32ad1b.zip
const religion
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/substitute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/lib/substitute.c b/source/lib/substitute.c
index 2669929920c..8e2ee3c0523 100644
--- a/source/lib/substitute.c
+++ b/source/lib/substitute.c
@@ -129,7 +129,7 @@ static char *automount_path(char *user_name)
This is Luke's original function with the NIS lookup code
moved out to a separate function.
*******************************************************************/
-static char *automount_server(char *user_name)
+static char *automount_server(const char *user_name)
{
static pstring server_name;
@@ -166,7 +166,7 @@ static char *automount_server(char *user_name)
/****************************************************************************
Do some standard substitutions in a string.
****************************************************************************/
-void standard_sub_basic(char *smb_name, char *str)
+void standard_sub_basic(const char *smb_name, char *str)
{
char *p, *s;
fstring pidstr;
@@ -230,7 +230,7 @@ void standard_sub_basic(char *smb_name, char *str)
/****************************************************************************
Do some standard substitutions in a string.
****************************************************************************/
-void standard_sub_advanced(int snum, char *user, char *connectpath, gid_t gid, char *smb_name, char *str)
+void standard_sub_advanced(int snum, const char *user, const char *connectpath, gid_t gid, const char *smb_name, char *str)
{
char *p, *s, *home;