summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-13 03:55:21 +0000
committerYang Tse <yangsita@gmail.com>2008-09-13 03:55:21 +0000
commit09aa4cf2caee83e24a86694aa845ec18cfdb17fb (patch)
tree99f76671d9621c99efe8af5acfcf3ead0497e599 /src/main.c
parent61c0bdb09c8e844117d816d0b16185b58f360ebb (diff)
downloadcurl-09aa4cf2caee83e24a86694aa845ec18cfdb17fb.tar.gz
fix compiler warning: external declaration in primary source file
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files 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;