]> granicus.if.org Git - curl/commitdiff
fix compiler warning: external declaration in primary source file
authorYang Tse <yangsita@gmail.com>
Sat, 13 Sep 2008 03:55:21 +0000 (03:55 +0000)
committerYang Tse <yangsita@gmail.com>
Sat, 13 Sep 2008 03:55:21 +0000 (03:55 +0000)
src/main.c

index 0ea9d504ddb87f79fa1e085e4d536e7fd08ed701..c19d67f40658cd695b2ddad9931d409a9491c6f6 100644 (file)
@@ -3757,11 +3757,11 @@ output_expected(const char* url, const char* uploadfile)
 
 static struct curl_slist *easycode;
 
-CURLcode _my_setopt(CURL *curl, struct Configurable *config, const char *name,
-                    CURLoption tag, ...);
+static CURLcode _my_setopt(CURL *curl, struct Configurable *config,
+                           const char *name, CURLoption tag, ...);
 
-CURLcode _my_setopt(CURL *curl, struct Configurable *config, const char *name,
-                    CURLoption tag, ...)
+static CURLcode _my_setopt(CURL *curl, struct Configurable *config,
+                           const char *name, CURLoption tag, ...)
 {
   va_list arg;
   CURLcode ret;