summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/doscalls.c2
-rw-r--r--source3/lib/util_str.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/doscalls.c b/source3/lib/doscalls.c
index 1d459898b5..4ce84cbca2 100644
--- a/source3/lib/doscalls.c
+++ b/source3/lib/doscalls.c
@@ -407,7 +407,7 @@ char *dos_GetWd(char *path)
getwd_cache_init = True;
for (i=0;i<MAX_GETWDCACHE;i++)
{
- string_init(&ino_list[i].dos_path,"");
+ string_set(&ino_list[i].dos_path,"");
ino_list[i].valid = False;
}
}
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index 58718f395a..b16de3efda 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -1008,7 +1008,7 @@ static char *null_string = NULL;
/****************************************************************************
set a string value, allocing the space for the string
****************************************************************************/
-BOOL string_init(char **dest,const char *src)
+static BOOL string_init(char **dest,const char *src)
{
size_t l;
if (!src)