]> 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:49:33 +0000 (03:49 +0000)
committerYang Tse <yangsita@gmail.com>
Sat, 13 Sep 2008 03:49:33 +0000 (03:49 +0000)
lib/multi.c

index af355b6c7d1696286ea46ad1147d321b2af11208..9d8a8f990921f7e8bdbcc9cc1e87167594654728 100644 (file)
@@ -214,7 +214,7 @@ static const char * const statename[]={
   "COMPLETED",
 };
 
-void curl_multi_dump(CURLM *multi_handle);
+static void curl_multi_dump(CURLM *multi_handle);
 #endif
 
 /* always use this function to change state, to make debugging easier */
@@ -2232,7 +2232,7 @@ static void add_closure(struct Curl_multi *multi,
 }
 
 #ifdef CURLDEBUG
-void curl_multi_dump(CURLM *multi_handle)
+static void curl_multi_dump(CURLM *multi_handle)
 {
   struct Curl_multi *multi=(struct Curl_multi *)multi_handle;
   struct Curl_one_easy *easy;