mirror of
https://github.com/curl/curl.git
synced 2026-08-24 14:13:32 +03:00
Fixed some more simple compile warnings in the examples.
This commit is contained in:
parent
b85b56a73d
commit
4706a93341
9 changed files with 12 additions and 9 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue