Fixed some more simple compile warnings in the examples.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user