aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl
diff options
context:
space:
mode:
authorMax Horn2003-05-29 21:45:26 +0000
committerMax Horn2003-05-29 21:45:26 +0000
commitf0a9f4fb2c5203fbd97130a8198d7ef9e1ce713a (patch)
treedfa2ea727d3c8e4e95329fde007a7402e65c0a25 /backends/sdl
parent417ec3a58816cbfd6c880b84474581a8e07bc40e (diff)
downloadscummvm-rg350-f0a9f4fb2c5203fbd97130a8198d7ef9e1ce713a.tar.gz
scummvm-rg350-f0a9f4fb2c5203fbd97130a8198d7ef9e1ce713a.tar.bz2
scummvm-rg350-f0a9f4fb2c5203fbd97130a8198d7ef9e1ce713a.zip
added some doxygen comments to common/system.h; cleaned up the OSystem interface a bit
svn-id: r8116
Diffstat (limited to 'backends/sdl')
-rw-r--r--backends/sdl/sdl-common.cpp4
-rw-r--r--backends/sdl/sdl-common.h4
2 files changed, 4 insertions, 4 deletions
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);