diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-07-16 21:22:12 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-07-16 21:22:12 +0000 |
commit | 4706a9334149f656eef9b5e8888da1ead23b0941 (patch) | |
tree | 913c6506b908fd3c42b7aaf1b39f014fd99adf36 /docs/examples/getinmemory.c | |
parent | b85b56a73d46a4842daae280a85eb60c7e675796 (diff) |
Fixed some more simple compile warnings in the examples.
Diffstat (limited to 'docs/examples/getinmemory.c')
-rw-r--r-- | docs/examples/getinmemory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/getinmemory.c b/docs/examples/getinmemory.c index 00ed39eb2..e80aa4165 100644 --- a/docs/examples/getinmemory.c +++ b/docs/examples/getinmemory.c @@ -26,7 +26,7 @@ struct MemoryStruct { size_t size; }; -void *myrealloc(void *ptr, size_t size) +static void *myrealloc(void *ptr, size_t size) { /* There might be a realloc() out there that doesn't like reallocing NULL pointers, so we take care of it here */ @@ -36,7 +36,7 @@ void *myrealloc(void *ptr, size_t size) return malloc(size); } -size_t +static size_t WriteMemoryCallback(void *ptr, size_t size, size_t nmemb, void *data) { size_t realsize = size * nmemb; |