projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix wrong sigaction syscall ABI on mips*, or1k, microblaze, riscv64
[musl]
/
src
/
thread
/
mtx_trylock.c
diff --git
a/src/thread/mtx_trylock.c
b/src/thread/mtx_trylock.c
index
8d1fb07
..
40a8b8c
100644
(file)
--- a/
src/thread/mtx_trylock.c
+++ b/
src/thread/mtx_trylock.c
@@
-1,8
+1,6
@@
#include "pthread_impl.h"
#include <threads.h>
-int __pthread_mutex_trylock(pthread_mutex_t *);
-
int mtx_trylock(mtx_t *m)
{
if (m->_m_type == PTHREAD_MUTEX_NORMAL)