From f0a9f4fb2c5203fbd97130a8198d7ef9e1ce713a Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 29 May 2003 21:45:26 +0000 Subject: added some doxygen comments to common/system.h; cleaned up the OSystem interface a bit svn-id: r8116 --- backends/sdl/sdl-common.cpp | 4 ++-- backends/sdl/sdl-common.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'backends/sdl') diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index 78820dc27b..f9096c098c 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -496,8 +496,8 @@ void OSystem_SDL_Common::delay_msecs(uint msecs) { SDL_Delay(msecs); } -void *OSystem_SDL_Common::create_thread(ThreadProc *proc, void *param) { - return SDL_CreateThread(proc, param); +void OSystem_SDL_Common::create_thread(ThreadProc *proc, void *param) { + SDL_CreateThread(proc, param); } static int mapKey(SDLKey key, SDLMod mod, Uint16 unicode) diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h index 5ce2166c79..71a44d46f6 100644 --- a/backends/sdl/sdl-common.h +++ b/backends/sdl/sdl-common.h @@ -71,7 +71,7 @@ public: void delay_msecs(uint msecs); // Create a thread - void *create_thread(ThreadProc *proc, void *param); + void create_thread(ThreadProc *proc, void *param); // Get the next event. // Returns true if an event was retrieved. @@ -103,7 +103,7 @@ public: void set_timer(int timer, int (*callback)(int)); // Mutex handling - void *create_mutex(void); + void *create_mutex(); void lock_mutex(void *mutex); void unlock_mutex(void *mutex); void delete_mutex(void *mutex); -- cgit v1.2.3