From 471f8e0095fae15c3995c809e8490ad20e9b35d8 Mon Sep 17 00:00:00 2001
From: Peter S. Mazinger <ps.m@gmx.net>
Date: Fri, 25 Mar 2011 13:08:19 +0100
Subject: [PATCH 201/396] 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>
---
 Makefile.in                                   |    1 +
 libc/sysdeps/linux/common/bits/uClibc_stdio.h |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index b59eed1..5c1223e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -227,6 +227,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 3d37f96..62b69d8 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
-- 
1.7.0.4

