Skip to content

Commit 71af983

Browse files
committed
Remove f{,try,un}lockfile implementation
1 parent 20f4d34 commit 71af983

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

libogc/lock_supp.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ distribution.
2929
#include <ogc/cond.h>
3030
#include <ogc/mutex.h>
3131
#include <ogc/timesupp.h>
32-
#include <stdio.h>
3332
#include <sys/iosupport.h>
3433
#include <sys/lock.h>
3534

@@ -129,18 +128,3 @@ int __SYSCALL(cond_wait_recursive)(_COND_T *cond, _LOCK_RECURSIVE_T *lock, uint6
129128

130129
return LWP_CondTimedWait(GetCond(cond), GetMutex(&lock->lock, true), &tv);
131130
}
132-
133-
void flockfile(FILE *fp)
134-
{
135-
__lock_acquire_recursive(fp->_lock);
136-
}
137-
138-
int ftrylockfile(FILE *fp)
139-
{
140-
return __lock_try_acquire_recursive(fp->_lock);
141-
}
142-
143-
void funlockfile(FILE *fp)
144-
{
145-
__lock_release_recursive(fp->_lock);
146-
}

0 commit comments

Comments
 (0)