mirror of https://github.com/encounter/SDL.git
Fixed compiler warning
This commit is contained in:
parent
22b6df511b
commit
fc60db86b3
|
@ -376,7 +376,7 @@ extern DECLSPEC int SDLCALL SDL_SetMemoryFunctions(SDL_malloc_func malloc_func,
|
||||||
/**
|
/**
|
||||||
* \brief Get the number of outstanding (unfreed) allocations
|
* \brief Get the number of outstanding (unfreed) allocations
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC int SDLCALL SDL_GetNumAllocations();
|
extern DECLSPEC int SDLCALL SDL_GetNumAllocations(void);
|
||||||
|
|
||||||
extern DECLSPEC char *SDLCALL SDL_getenv(const char *name);
|
extern DECLSPEC char *SDLCALL SDL_getenv(const char *name);
|
||||||
extern DECLSPEC int SDLCALL SDL_setenv(const char *name, const char *value, int overwrite);
|
extern DECLSPEC int SDLCALL SDL_setenv(const char *name, const char *value, int overwrite);
|
||||||
|
|
|
@ -5312,7 +5312,7 @@ int SDL_SetMemoryFunctions(SDL_malloc_func malloc_func,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int SDL_GetNumAllocations()
|
int SDL_GetNumAllocations(void)
|
||||||
{
|
{
|
||||||
return SDL_AtomicGet(&s_mem.num_allocations);
|
return SDL_AtomicGet(&s_mem.num_allocations);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue