diff options
-rw-r--r-- | backends/PalmOS/Src/palm.cpp | 2 | ||||
-rw-r--r-- | backends/morphos/morphos.cpp | 2 | ||||
-rw-r--r-- | backends/wince/wince.cpp | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/backends/PalmOS/Src/palm.cpp b/backends/PalmOS/Src/palm.cpp index e25c25433f..e81eb694c3 100644 --- a/backends/PalmOS/Src/palm.cpp +++ b/backends/PalmOS/Src/palm.cpp @@ -562,7 +562,7 @@ void OSystem_PALMOS::set_timer(int timer, int (*callback)(int)) } /* Mutex handling */ -MutexRef OSystem_PALMOS::create_mutex() +OSystem::MutexRef OSystem_PALMOS::create_mutex() { return NULL; } diff --git a/backends/morphos/morphos.cpp b/backends/morphos/morphos.cpp index b316f1b97c..3905522be1 100644 --- a/backends/morphos/morphos.cpp +++ b/backends/morphos/morphos.cpp @@ -316,7 +316,7 @@ void OSystem_MorphOS::create_thread(ThreadProc *proc, void *param) NP_PPC_Arg1, (ULONG) param, TAG_DONE); } -MutexRef OSystem_MorphOS::create_mutex() +OSystem::MutexRef OSystem_MorphOS::create_mutex() { SignalSemaphore *sem = (SignalSemaphore *) AllocVec(sizeof (SignalSemaphore), MEMF_PUBLIC); diff --git a/backends/wince/wince.cpp b/backends/wince/wince.cpp index eb4c1eff6e..de76d959c1 100644 --- a/backends/wince/wince.cpp +++ b/backends/wince/wince.cpp @@ -1744,18 +1744,18 @@ void OSystem_WINCE3::update_cdrom() {;} //void ScummDebugger::attach(Scumm *s) {;} /* Mutex stuff */ -MutexRefOSystem_WINCE3::create_mutex() { +OSystem::MutexRef OSystem_WINCE3::create_mutex() { return (MutexRef)CreateMutex(NULL, FALSE, NULL); } -void OSystem_WINCE3::lock_mutex(MutexRefhandle) { +void OSystem_WINCE3::lock_mutex(MutexRef handle) { WaitForSingleObject((HANDLE)handle, INFINITE); } -void OSystem_WINCE3::unlock_mutex(MutexRefhandle) { +void OSystem_WINCE3::unlock_mutex(MutexRef handle) { ReleaseMutex((HANDLE)handle); } -void OSystem_WINCE3::delete_mutex(MutexRefhandle) { +void OSystem_WINCE3::delete_mutex(MutexRef handle) { CloseHandle((HANDLE)handle); } |