Fixed some more simple compile warnings in the examples.

This commit is contained in:
Dan Fandrich
2007-07-16 21:22:12 +00:00
parent b85b56a73d
commit 4706a93341
9 changed files with 12 additions and 9 deletions

View File

@@ -11,6 +11,7 @@
#include <stdio.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
#include <curl/curl.h>
@@ -24,7 +25,7 @@
* http://www.apacheweek.com/features/put
*/
size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream)
static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream)
{
size_t retcode;