Modules/Ext2 - Fixed zero-length filenames and memory leaks
[tpg/acess2.git] / Tools / DiskTool / src / include / acess.h
index 6b74dfc..ff2347b 100644 (file)
@@ -49,7 +49,6 @@ typedef uint32_t      tGID;
 typedef uint32_t       tTID;
 
 // NOTE: Since this is single-threaded (for now) mutexes can be implimented as simple locks
-typedef char   tMutex;
 typedef char   tShortSpinlock;
 
 typedef int64_t        tTime;
@@ -127,13 +126,6 @@ extern int WriteUTF8(Uint8 *str, Uint32 Val);
 extern int     DivUp(int value, int divisor);
 extern uint64_t        DivMod64U(uint64_t Num, uint64_t Den, uint64_t *Rem);
 
-static inline int Mutex_Acquire(tMutex *m) {
-       if(*m)  Log_KernelPanic("---", "Double mutex lock");
-       *m = 1;
-       return 0;
-}
-static inline void Mutex_Release(tMutex *m) { *m = 0; }
-
 static inline void SHORTLOCK(tShortSpinlock *Lock) {
        if(*Lock)       Log_KernelPanic("---", "Double short lock");
        *Lock = 1;

UCC git Repository :: git.ucc.asn.au