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

@@ -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;