summaryrefslogtreecommitdiff
path: root/arm9/lib/include/OS_mutex.h
diff options
context:
space:
mode:
authorLouis Hampton <roastveg@hotmail.co.uk>2020-06-20 19:01:00 +0100
committerLouis Hampton <roastveg@hotmail.co.uk>2020-06-20 19:01:00 +0100
commit3cf5ef0a661c62a94766e2c08025bb7ecb785b2a (patch)
tree7fa9fc230a0517f65876613318f043f3c14b8f63 /arm9/lib/include/OS_mutex.h
parent59f6bdfa9a7645d3e2e9d1ac0bde5af3ad77e8b2 (diff)
parent6298426d9ad4c59a875b0a90a0facfa1a3a513cc (diff)
Merge branch 'master' of https://github.com/roastveg/pokediamond
Diffstat (limited to 'arm9/lib/include/OS_mutex.h')
-rw-r--r--arm9/lib/include/OS_mutex.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/arm9/lib/include/OS_mutex.h b/arm9/lib/include/OS_mutex.h
index 0fc261a4..9da89c69 100644
--- a/arm9/lib/include/OS_mutex.h
+++ b/arm9/lib/include/OS_mutex.h
@@ -1,16 +1,10 @@
-#ifndef POKEDIAMOND_OS_MUTEX_H
-#define POKEDIAMOND_OS_MUTEX_H
+#ifndef POKEDIAMOND_ARM9_OS_MUTEX_H
+#define POKEDIAMOND_ARM9_OS_MUTEX_H
-#include "nitro/types.h"
#include "OS_thread.h"
-
-struct OSMutex {
- OSThreadQueue queue;
- OSThread *thread;
- s32 count;
- OSMutexLink link;
-};
+#include "OS_context.h"
+#include "nitro/OS_mutex_shared.h"
void OSi_UnlockAllMutex(OSThread * thread);
-#endif //POKEDIAMOND_OS_MUTEX_H
+#endif //POKEDIAMOND_ARM9_OS_MUTEX_H