aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/sepheaders.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-07-16 21:22:12 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-07-16 21:22:12 +0000
commit4706a9334149f656eef9b5e8888da1ead23b0941 (patch)
tree913c6506b908fd3c42b7aaf1b39f014fd99adf36 /docs/examples/sepheaders.c
parentb85b56a73d46a4842daae280a85eb60c7e675796 (diff)
Fixed some more simple compile warnings in the examples.
Diffstat (limited to 'docs/examples/sepheaders.c')
-rw-r--r--docs/examples/sepheaders.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/sepheaders.c b/docs/examples/sepheaders.c
index e35aebfb1..adfa4374a 100644
--- a/docs/examples/sepheaders.c
+++ b/docs/examples/sepheaders.c
@@ -16,7 +16,7 @@
#include <curl/types.h>
#include <curl/easy.h>
-size_t write_data(void *ptr, size_t size, size_t nmemb, void *stream)
+static size_t write_data(void *ptr, size_t size, size_t nmemb, void *stream)
{
int written = fwrite(ptr, size, nmemb, (FILE *)stream);
return written;