summaryrefslogtreecommitdiff
path: root/source3
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
commitf30dd2ec5b4b7607f2af04ccb8ad1c8f2a08de1b (patch)
tree97484d9937a650e84992489aee8d65f8374ad670 /source3
parent39b61ab3a42311ee263a8d8ba879eb4076b9419c (diff)
downloadsamba-f30dd2ec5b4b7607f2af04ccb8ad1c8f2a08de1b.tar.gz
samba-f30dd2ec5b4b7607f2af04ccb8ad1c8f2a08de1b.tar.bz2
samba-f30dd2ec5b4b7607f2af04ccb8ad1c8f2a08de1b.zip
const religion
(This used to be commit c0904d96170a9166b8cd405b75ce4a9bbc32ad1b)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/substitute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c
index 2669929920..8e2ee3c052 100644
--- a/source3/lib/substitute.c
+++ b/source3/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;