aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS
diff options
context:
space:
mode:
authorMax Horn2003-07-05 15:17:46 +0000
committerMax Horn2003-07-05 15:17:46 +0000
commit4611b12c0a84ec528f9f020dc85bf4e9a0108c82 (patch)
tree8a7f87ffbad997a6873a1a6e75d0d49746e9d69e /backends/PalmOS
parent39abb7cf0a36f348c2755197e18ae2d9edc59eda (diff)
downloadscummvm-rg350-4611b12c0a84ec528f9f020dc85bf4e9a0108c82.tar.gz
scummvm-rg350-4611b12c0a84ec528f9f020dc85bf4e9a0108c82.tar.bz2
scummvm-rg350-4611b12c0a84ec528f9f020dc85bf4e9a0108c82.zip
updated backends to use type MutexRef
svn-id: r8776
Diffstat (limited to 'backends/PalmOS')
-rw-r--r--backends/PalmOS/Src/palm.cpp8
-rw-r--r--backends/PalmOS/Src/palm.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/backends/PalmOS/Src/palm.cpp b/backends/PalmOS/Src/palm.cpp
index 7fb2164ef0..e25c25433f 100644
--- a/backends/PalmOS/Src/palm.cpp
+++ b/backends/PalmOS/Src/palm.cpp
@@ -562,20 +562,20 @@ void OSystem_PALMOS::set_timer(int timer, int (*callback)(int))
}
/* Mutex handling */
-void *OSystem_PALMOS::create_mutex()
+MutexRef OSystem_PALMOS::create_mutex()
{
return NULL;
}
-void OSystem_PALMOS::lock_mutex(void *mutex)
+void OSystem_PALMOS::lock_mutex(MutexRef mutex)
{
}
-void OSystem_PALMOS::unlock_mutex(void *mutex)
+void OSystem_PALMOS::unlock_mutex(MutexRef mutex)
{
}
-void OSystem_PALMOS::delete_mutex(void *mutex)
+void OSystem_PALMOS::delete_mutex(MutexRef mutex)
{
}
diff --git a/backends/PalmOS/Src/palm.h b/backends/PalmOS/Src/palm.h
index 8c6e8b442d..59d39e153c 100644
--- a/backends/PalmOS/Src/palm.h
+++ b/backends/PalmOS/Src/palm.h
@@ -121,10 +121,10 @@ public:
void set_timer(int timer, int (*callback)(int));
// Mutex handling
- void *create_mutex();
- void lock_mutex(void *mutex);
- void unlock_mutex(void *mutex);
- void delete_mutex(void *mutex);
+ MutexRef create_mutex();
+ void lock_mutex(MutexRef mutex);
+ void unlock_mutex(MutexRef mutex);
+ void delete_mutex(MutexRef mutex);
// Quit
void quit();