aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-13 16:37:16 +0000
committerYang Tse <yangsita@gmail.com>2008-09-13 16:37:16 +0000
commit651dad0cc16adfb2f7d31ba78b914270baf0ea68 (patch)
treed62878a8246078970e4e3cfae7d0c92df51307bc
parentf591ab3ba0fafef16f3dab90f213e883c13a8c03 (diff)
fix compiler warning: external declaration in primary source file
-rw-r--r--lib/mprintf.c2
-rw-r--r--packages/OS400/ccsidcurl.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/mprintf.c b/lib/mprintf.c
index 46438d47d..a09450306 100644
--- a/lib/mprintf.c
+++ b/lib/mprintf.c
@@ -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;
diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c
index 9b91bd8b1..9694a345c 100644
--- a/packages/OS400/ccsidcurl.c
+++ b/packages/OS400/ccsidcurl.c
@@ -33,6 +33,7 @@
#pragma enum(int)
#include <curl/curl.h>
+#include <curl/mprintf.h>
#include "urldata.h"
#include "url.h"
#include "getinfo.h"