summaryrefslogtreecommitdiffstats
path: root/libc/stdio/fflush.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-07-11 09:34:24 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-07-11 09:34:24 +0000
commit5f57aa2720b6d8fe3dd684ca5aa1550e7a222897 (patch)
treea5753109c4fc8bb0091ad9af861e08878d7576c6 /libc/stdio/fflush.c
parentba9fa585e2c95a0bab7d32f9702da597cbef0e61 (diff)
downloaduClibc-alpine-5f57aa2720b6d8fe3dd684ca5aa1550e7a222897.tar.bz2
uClibc-alpine-5f57aa2720b6d8fe3dd684ca5aa1550e7a222897.tar.xz
Fix some __UCLIBC_IO_MUTEX_XXXX macro to be used without FUTEX support. Thanks Khem for pointing this out
Diffstat (limited to 'libc/stdio/fflush.c')
-rw-r--r--libc/stdio/fflush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdio/fflush.c b/libc/stdio/fflush.c
index e1527b3a3..11b837dde 100644
--- a/libc/stdio/fflush.c
+++ b/libc/stdio/fflush.c
@@ -19,11 +19,11 @@ libc_hidden_proto(fflush_unlocked)
* when all (lbf) writing streams are flushed. */
#define __MY_STDIO_THREADLOCK(__stream) \
- __UCLIBC_MUTEX_CONDITIONAL_LOCK((__stream)->__lock, \
+ __UCLIBC_IO_MUTEX_CONDITIONAL_LOCK((__stream)->__lock, \
(_stdio_user_locking != 2))
#define __MY_STDIO_THREADUNLOCK(__stream) \
- __UCLIBC_MUTEX_CONDITIONAL_UNLOCK((__stream)->__lock, \
+ __UCLIBC_IO_MUTEX_CONDITIONAL_UNLOCK((__stream)->__lock, \
(_stdio_user_locking != 2))
#if defined(__UCLIBC_HAS_THREADS__) && defined(__STDIO_BUFFERS)