aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/post-callback.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/post-callback.c
parentb85b56a73d46a4842daae280a85eb60c7e675796 (diff)
Fixed some more simple compile warnings in the examples.
Diffstat (limited to 'docs/examples/post-callback.c')
-rw-r--r--docs/examples/post-callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/post-callback.c b/docs/examples/post-callback.c
index a2c89873f..531b68156 100644
--- a/docs/examples/post-callback.c
+++ b/docs/examples/post-callback.c
@@ -22,7 +22,7 @@ struct WriteThis {
int sizeleft;
};
-size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp)
+static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp)
{
struct WriteThis *pooh = (struct WriteThis *)userp;