summaryrefslogtreecommitdiff
path: root/docs/examples/ftpupload.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-12-17 23:34:26 +0100
committerDaniel Stenberg <daniel@haxx.se>2010-12-17 23:34:26 +0100
commit9583b4af9057c9e35ec3dd3270d4c4813b5f7aaa (patch)
treee50544f244a6243aec3d72a559375c17b83f25bb /docs/examples/ftpupload.c
parent8219bc9e19c78ec4617ae5311b4ea64c49763ff6 (diff)
downloadcurl-9583b4af9057c9e35ec3dd3270d4c4813b5f7aaa.tar.gz
examples: fix compiler warnings
Diffstat (limited to 'docs/examples/ftpupload.c')
-rw-r--r--docs/examples/ftpupload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/ftpupload.c b/docs/examples/ftpupload.c
index f1f66c0a1..bee62494c 100644
--- a/docs/examples/ftpupload.c
+++ b/docs/examples/ftpupload.c
@@ -48,7 +48,7 @@ static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream)
return retcode;
}
-int main(int argc, char **argv)
+int main(void)
{
CURL *curl;
CURLcode res;