summaryrefslogtreecommitdiffstats
path: root/libc/stdio/fflush.c
diff options
context:
space:
mode:
authorKhem Raj <kraj@mvista.com>2008-07-09 23:52:41 +0000
committerKhem Raj <kraj@mvista.com>2008-07-09 23:52:41 +0000
commitc776700c71250f0666f5f23ba198f6c3d03974c6 (patch)
treeedf45e8c27e0704a51e22be1f37f06e2e0a3e09e /libc/stdio/fflush.c
parent8881017aeb43889e5eba0bd29e7bd484b715f56b (diff)
downloaduClibc-alpine-c776700c71250f0666f5f23ba198f6c3d03974c6.tar.bz2
uClibc-alpine-c776700c71250f0666f5f23ba198f6c3d03974c6.tar.xz
Fix the builds without STDIO_FUTEXES. Fix msgecv and msgsend to compile on ARM as well.
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 11b837dde..e1527b3a3 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_IO_MUTEX_CONDITIONAL_LOCK((__stream)->__lock, \
+ __UCLIBC_MUTEX_CONDITIONAL_LOCK((__stream)->__lock, \
(_stdio_user_locking != 2))
#define __MY_STDIO_THREADUNLOCK(__stream) \
- __UCLIBC_IO_MUTEX_CONDITIONAL_UNLOCK((__stream)->__lock, \
+ __UCLIBC_MUTEX_CONDITIONAL_UNLOCK((__stream)->__lock, \
(_stdio_user_locking != 2))
#if defined(__UCLIBC_HAS_THREADS__) && defined(__STDIO_BUFFERS)