aboutsummaryrefslogtreecommitdiff
path: root/backends/dc
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/dc
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/dc')
-rw-r--r--backends/dc/dc.h4
-rw-r--r--backends/dc/dcmain.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/backends/dc/dc.h b/backends/dc/dc.h
index 7b9f6a0d86..5dff783657 100644
--- a/backends/dc/dc.h
+++ b/backends/dc/dc.h
@@ -41,7 +41,7 @@ class OSystem_Dreamcast : public OSystem {
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.
@@ -80,7 +80,7 @@ class OSystem_Dreamcast : public OSystem {
virtual void set_timer(int timer, int (*callback)(int));
// Mutex handling
- virtual void *create_mutex(void);
+ virtual void *create_mutex();
virtual void lock_mutex(void *mutex);
virtual void unlock_mutex(void *mutex);
virtual void delete_mutex(void *mutex);
diff --git a/backends/dc/dcmain.cpp b/backends/dc/dcmain.cpp
index 78768a79d2..c83271b294 100644
--- a/backends/dc/dcmain.cpp
+++ b/backends/dc/dcmain.cpp
@@ -118,13 +118,13 @@ void OSystem_Dreamcast::quit() {
exit(0);
}
-void *OSystem_Dreamcast::create_thread(ThreadProc *proc, void *param) {
+void OSystem_Dreamcast::create_thread(ThreadProc *proc, void *param) {
warning("Creating a thread! (not supported.)\n");
}
/* Mutex handling */
-void *OSystem_Dreamcast::create_mutex(void)
+void *OSystem_Dreamcast::create_mutex()
{
return NULL;
}
@@ -142,7 +142,7 @@ void OSystem_Dreamcast::delete_mutex(void *mutex)
}
-void dc_init_hardware(void)
+void dc_init_hardware()
{
#ifndef NOSERIAL
serial_init(57600);