Fixed empty parameter list in signatures of internal functions.

This commit is contained in:
Philipp Wiesemann 2016-11-16 22:08:51 +01:00
parent f69c47aaea
commit 2a8a7f92b7
20 changed files with 45 additions and 31 deletions

View file

@ -121,7 +121,7 @@ static SDL_TLSEntry *SDL_generic_TLS;
SDL_TLSData *
SDL_Generic_GetTLSData()
SDL_Generic_GetTLSData(void)
{
SDL_threadID thread = SDL_ThreadID();
SDL_TLSEntry *entry;

View file

@ -24,7 +24,7 @@
SDL_TLSData *
SDL_SYS_GetTLSData()
SDL_SYS_GetTLSData(void)
{
return SDL_Generic_GetTLSData();
}

View file

@ -32,7 +32,7 @@ static pthread_key_t thread_local_storage = INVALID_PTHREAD_KEY;
static SDL_bool generic_local_storage = SDL_FALSE;
SDL_TLSData *
SDL_SYS_GetTLSData()
SDL_SYS_GetTLSData(void)
{
if (thread_local_storage == INVALID_PTHREAD_KEY && !generic_local_storage) {
static SDL_SpinLock lock;

View file

@ -153,7 +153,7 @@ SDL_SYS_DetachThread(SDL_Thread * thread)
extern "C"
SDL_TLSData *
SDL_SYS_GetTLSData()
SDL_SYS_GetTLSData(void)
{
return SDL_Generic_GetTLSData();
}

View file

@ -32,7 +32,7 @@ static DWORD thread_local_storage = TLS_OUT_OF_INDEXES;
static SDL_bool generic_local_storage = SDL_FALSE;
SDL_TLSData *
SDL_SYS_GetTLSData()
SDL_SYS_GetTLSData(void)
{
if (thread_local_storage == TLS_OUT_OF_INDEXES && !generic_local_storage) {
static SDL_SpinLock lock;