[Scummvm-cvs-logs] CVS: scummvm/backends/gp32 gp32.cpp,1.5,1.6 gp32.h,1.6,1.7

Max Horn fingolfin at users.sourceforge.net
Thu May 29 14:46:14 CEST 2003


Update of /cvsroot/scummvm/scummvm/backends/gp32
In directory sc8-pr-cvs1:/tmp/cvs-serv4964/backends/gp32

Modified Files:
	gp32.cpp gp32.h 
Log Message:
added some doxygen comments to common/system.h; cleaned up the OSystem interface a bit

Index: gp32.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/gp32/gp32.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- gp32.cpp	10 Apr 2003 13:39:38 -0000	1.5
+++ gp32.cpp	29 May 2003 21:45:22 -0000	1.6
@@ -685,7 +685,7 @@
 	///SDL_UnlockSurface(sdl_tmpscreen); 
 }
 
-char * SDL_GetError(void) {
+char * SDL_GetError() {
 
 	// implement
 	return NULL;
@@ -860,7 +860,7 @@
 }
 	
 // 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::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) { }

Index: gp32.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/gp32/gp32.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- gp32.h	25 May 2003 12:08:01 -0000	1.6
+++ gp32.h	29 May 2003 21:45:22 -0000	1.7
@@ -71,7 +71,7 @@
 	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 @@
 	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);





More information about the Scummvm-git-logs mailing list