[Scummvm-cvs-logs] CVS: scummvm/backends/x11 x11.cpp,1.9,1.10

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


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

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

Index: x11.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/x11/x11.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- x11.cpp	12 May 2003 05:22:46 -0000	1.9
+++ x11.cpp	29 May 2003 21:45:23 -0000	1.10
@@ -89,7 +89,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.  
@@ -121,7 +121,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);
@@ -302,7 +302,7 @@
 	XDefineCursor(display, window, cursor);
 }
 
-OSystem *OSystem_X11_create(void)
+OSystem *OSystem_X11_create()
 {
 	return OSystem_X11::create(0, 0);
 }
@@ -765,7 +765,7 @@
 	new_shake_pos = shake_pos;
 }
 
-void *OSystem_X11::create_thread(ThreadProc *proc, void *param)
+void OSystem_X11::create_thread(ThreadProc *proc, void *param)
 {
 	pthread_t *thread = (pthread_t *) malloc(sizeof(pthread_t));
 	if (pthread_create(thread, NULL, (void *(*)(void *))proc, param))
@@ -1029,7 +1029,7 @@
 	}
 }
 
-void *OSystem_X11::create_mutex(void)
+void *OSystem_X11::create_mutex()
 {
 	pthread_mutex_t *mutex = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t));
 	pthread_mutex_init(mutex, NULL);





More information about the Scummvm-git-logs mailing list