Browse Source

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>
Peter S. Mazinger 13 years ago
parent
commit
6df8eff5af
2 changed files with 2 additions and 0 deletions
  1. 1 0
      Makefile.in
  2. 1 0
      libc/sysdeps/linux/common/bits/uClibc_stdio.h

+ 1 - 0
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 \

+ 1 - 0
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