From: Yang Tse Date: Sat, 13 Sep 2008 03:55:21 +0000 (+0000) Subject: fix compiler warning: external declaration in primary source file X-Git-Tag: curl-7_19_1~362 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=09aa4cf2caee83e24a86694aa845ec18cfdb17fb;p=thirdparty%2Fcurl.git fix compiler warning: external declaration in primary source file --- diff --git a/src/main.c b/src/main.c index 0ea9d504dd..c19d67f406 100644 --- a/src/main.c +++ b/src/main.c @@ -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;