let our basename() be static
authorDaniel Stenberg <daniel@haxx.se>
Tue, 5 Oct 2004 06:49:09 +0000 (06:49 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 5 Oct 2004 06:49:09 +0000 (06:49 +0000)
lib/formdata.c

index e03d75a..91ad34c 100644 (file)
@@ -931,7 +931,7 @@ void curl_formfree(struct curl_httppost *form)
   required to be reentrant is not required to be thread-safe.
 
 */
-char *basename(char *path)
+static char *basename(char *path)
 {
   /* Ignore all the details above for now and make a quick and simple
      implementaion here */