summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2010-04-28 10:35:55 -0700
committerAustin Foxley <austinf@cetoncorp.com>2010-04-28 10:35:55 -0700
commit0748262682e3cffc7fccc266ac7632f48f56a0ee (patch)
tree8e38916140cae2a20af2a60c763f1de126ea5b40 /libc/sysdeps/linux
parent72210a8474a3633dc36e1972fe9e8b66eef7d49e (diff)
fix a few build errors for the no threads case
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_mutex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_mutex.h b/libc/sysdeps/linux/common/bits/uClibc_mutex.h
index 3e3d0066a..0b4acd787 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_mutex.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_mutex.h
@@ -121,6 +121,7 @@
#define __UCLIBC_MUTEX_STATIC(M,I) extern void *__UCLIBC_MUTEX_DUMMY_ ## M
#define __UCLIBC_MUTEX_EXTERN(M) extern void *__UCLIBC_MUTEX_DUMMY_ ## M
+#define __UCLIBC_MUTEX_INIT_VAR(M) ((void)0)
#define __UCLIBC_MUTEX_LOCK_CANCEL_UNSAFE(M) ((void)0)
#define __UCLIBC_MUTEX_UNLOCK_CANCEL_UNSAFE(M) ((void)0)
#define __UCLIBC_MUTEX_TRYLOCK_CANCEL_UNSAFE(M) (0) /* Always succeed? */