From 2520b17c292af534decee7fba76865520ea9727c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 20 Apr 2010 11:59:42 +0300 Subject: nptl: remove unneeded libc-lock.h include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Timo Teräs Signed-off-by: Austin Foxley --- libc/sysdeps/linux/common/bits/uClibc_mutex.h | 1 - 1 file changed, 1 deletion(-) 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 -#include #include #define __uclibc_maybe_call(FUNC, ARGS) \ -- cgit v1.2.3