Fixed empty parameter list in signatures of internal functions.
This commit is contained in:
parent
f69c47aaea
commit
2a8a7f92b7
20 changed files with 45 additions and 31 deletions
|
@ -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;
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
|
||||
SDL_TLSData *
|
||||
SDL_SYS_GetTLSData()
|
||||
SDL_SYS_GetTLSData(void)
|
||||
{
|
||||
return SDL_Generic_GetTLSData();
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue