summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-04-20 11:59:42 +0300
committerAustin Foxley <austinf@cetoncorp.com>2010-04-20 11:55:29 -0700
commit2520b17c292af534decee7fba76865520ea9727c (patch)
treef919573de3688fcd349b3ecead7e147a0d6e68ec /libc/sysdeps/linux/common/bits
parenta501a33e9761f32b3d38ab9f113892abe7cef3f1 (diff)
nptl: remove unneeded libc-lock.h include
I semi-accidentally added include for libc-lock.h because the intention was to use locking macroes from there. However, we ended up using using the weak alias stuff. This is additionally good since now this can result in compile errors like: In file included from /toolchain/include/bits/uClibc_mutex.h:16, from /toolchain/include/bits/uClibc_stdio.h:107, from /toolchain/include/stdio.h:72, from /work/freetype-2.3.11/include/freetype/config/ftstdlib.h:100, from ./builds/unix/ftconfig.h:43, from builds/unix/ftsystem.c:21: /toolchain/include/bits/libc-lock.h:309: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' Remove the unneeded include causing breakage. Reported-by: Kevin Day <thekevinday@gmail.com> Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux/common/bits')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_mutex.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_mutex.h b/libc/sysdeps/linux/common/bits/uClibc_mutex.h
index 02bcc7225..6d004bb74 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_mutex.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_mutex.h
@@ -13,7 +13,6 @@
#ifdef __UCLIBC_HAS_THREADS__
#include <pthread.h>
-#include <bits/libc-lock.h>
#include <bits/uClibc_pthread.h>
#define __uclibc_maybe_call(FUNC, ARGS) \