summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-25 13:08:19 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:33 +0200
commit6df8eff5afd0dc299e90b37c1740741fa08579fd (patch)
tree9ee07eb993055ce65cfb4ed02dd40aef80349d1e
parent8808c26863c1d84062fd85340e0bb8971c30ebbc (diff)
remove uClibc_mutex.h on install
Add a comment to uClibc_stdio.h to keep macros in sync with uClibc_mutex.h Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--Makefile.in1
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_stdio.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 8cc7a01a1..9de340011 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -231,6 +231,7 @@ HEADERS_RM- := \
bits/syscalls.h \
bits/syscalls-common.h \
bits/uClibc_fpmax.h \
+ bits/uClibc_mutex.h \
bits/uClibc_pthread.h \
bits/uClibc_uintmaxtostr.h \
bits/uClibc_uwchar.h \
diff --git a/libc/sysdeps/linux/common/bits/uClibc_stdio.h b/libc/sysdeps/linux/common/bits/uClibc_stdio.h
index 095220aa6..7d1df6ce9 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_stdio.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_stdio.h
@@ -205,6 +205,7 @@ typedef _IO_cookie_io_functions_t cookie_io_functions_t;
/**********************************************************************/
#if defined __UCLIBC_HAS_THREADS__ && !defined __UCLIBC_IO_MUTEX
+/* keep this in sync with uClibc_mutex.h */
# ifdef __USE_STDIO_FUTEXES__
# include <bits/stdio-lock.h>
# define __UCLIBC_IO_MUTEX(M) _IO_lock_t M