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 818d1d3e80
commit 97aa577589
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;