mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-17 23:31:45 +00:00
Updated source to match SDL function prototype style
This commit is contained in:
@@ -26,8 +26,7 @@
|
||||
|
||||
#ifdef SDL_THREADS_DISABLED
|
||||
|
||||
SDL_Semaphore *
|
||||
SDL_CreateSemaphore(Uint32 initial_value)
|
||||
SDL_Semaphore *SDL_CreateSemaphore(Uint32 initial_value)
|
||||
{
|
||||
SDL_SetError("SDL not built with thread support");
|
||||
return (SDL_Semaphore *)0;
|
||||
@@ -62,8 +61,7 @@ struct SDL_Semaphore
|
||||
SDL_Condition *count_nonzero;
|
||||
};
|
||||
|
||||
SDL_Semaphore *
|
||||
SDL_CreateSemaphore(Uint32 initial_value)
|
||||
SDL_Semaphore *SDL_CreateSemaphore(Uint32 initial_value)
|
||||
{
|
||||
SDL_Semaphore *sem;
|
||||
|
||||
|
Reference in New Issue
Block a user