From 09aa4cf2caee83e24a86694aa845ec18cfdb17fb Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 13 Sep 2008 03:55:21 +0000 Subject: [PATCH] fix compiler warning: external declaration in primary source file --- src/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.c b/src/main.c index 0ea9d504d..c19d67f40 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;