diff options
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/common/util.h b/common/util.h index b602f3ef85..68c47a1fb5 100644 --- a/common/util.h +++ b/common/util.h @@ -22,7 +22,6 @@ #define COMMON_UTIL_H #include "common/scummsys.h" -#include "common/system.h" template<typename T> inline T ABS (T x) { return (x>=0) ? x : -x; } template<typename T> inline T MIN (T a, T b) { return (a<b) ? a : b; } @@ -76,21 +75,6 @@ public: }; /** - * Auxillary class to (un)lock a mutex on the stack. - */ -class StackLock { - OSystem::MutexRef _mutex; - OSystem *_syst; - const char *_mutexName; - - void lock(); - void unlock(); -public: - StackLock(OSystem::MutexRef mutex, OSystem *syst = 0, const char *mutexName = NULL); - ~StackLock(); -}; - -/** * List of language ids. * @note The order and mappings of the values 0..8 are *required* to stay the * way they are now, as scripts in COMI rely on them. So don't touch them. |