aboutsummaryrefslogtreecommitdiff
path: root/backends/gp32
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/gp32
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/gp32')
-rw-r--r--backends/gp32/gp32.cpp6
-rw-r--r--backends/gp32/gp32.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/backends/gp32/gp32.cpp b/backends/gp32/gp32.cpp
index 133907b425..62b10b9a95 100644
--- a/backends/gp32/gp32.cpp
+++ b/backends/gp32/gp32.cpp
@@ -685,7 +685,7 @@ void OSystem_GP32::undraw_mouse() { //return; //fixme!
///SDL_UnlockSurface(sdl_tmpscreen);
}
-char * SDL_GetError(void) {
+char * SDL_GetError() {
// implement
return NULL;
@@ -860,7 +860,7 @@ void OSystem_GP32::delay_msecs(uint msecs) {
}
// Create a thread
-void* OSystem_GP32::create_thread(ThreadProc *proc, void *param) { return NULL;}
+void OSystem_GP32::create_thread(ThreadProc *proc, void *param) { }
// Get the next event.
// Returns true if an event was retrieved.
@@ -1075,7 +1075,7 @@ void OSystem_GP32::update_cdrom() { }
void OSystem_GP32::set_timer(int timer, int (*callback)(int)) { }
// Mutex handling
-void* OSystem_GP32::create_mutex(void) { }
+void* OSystem_GP32::create_mutex() { }
void OSystem_GP32::lock_mutex(void *mutex) { }
void OSystem_GP32::unlock_mutex(void *mutex) { }
void OSystem_GP32::delete_mutex(void *mutex) { }
diff --git a/backends/gp32/gp32.h b/backends/gp32/gp32.h
index da69b2fedd..686ece4f27 100644
--- a/backends/gp32/gp32.h
+++ b/backends/gp32/gp32.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.
@@ -102,7 +102,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);