]> granicus.if.org Git - curl/commitdiff
fix compiler warning: external declaration in primary source file
authorYang Tse <yangsita@gmail.com>
Sat, 13 Sep 2008 16:37:16 +0000 (16:37 +0000)
committerYang Tse <yangsita@gmail.com>
Sat, 13 Sep 2008 16:37:16 +0000 (16:37 +0000)
lib/mprintf.c
packages/OS400/ccsidcurl.c

index 46438d47d85f8fa3431c1843b8221394b57c5069..a09450306ba0498ef9509274cbaf65fba2ff5c5f 100644 (file)
@@ -180,8 +180,6 @@ struct asprintf {
                    the output is not the complete data */
 };
 
-int curl_msprintf(char *buffer, const char *format, ...);
-
 static long dprintf_DollarString(char *input, char **end)
 {
   int number=0;
index 9b91bd8b110f181158d34e6f073d02cc68faa638..9694a345c6862c23b76d8bf294493166d4665405 100644 (file)
@@ -33,6 +33,7 @@
 #pragma enum(int)
 
 #include <curl/curl.h>
+#include <curl/mprintf.h>
 #include "urldata.h"
 #include "url.h"
 #include "getinfo.h"