summaryrefslogtreecommitdiff
path: root/libc/stdio/fflush.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2014-12-30 18:34:38 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2014-12-30 18:34:38 +0100
commit7fa20cef3fc120c9c9fb96c46bd06feb69cef3ca (patch)
tree346ee92903291a9e2c1516d5193f0ac09009707b /libc/stdio/fflush.c
parent5e0ada6a23c683851b8e20ee7ade0cee7a9b4900 (diff)
parent3d39f1ae2b2bb9f2aa30eee4b34486b03e24c175 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/uclibc-ng
Diffstat (limited to 'libc/stdio/fflush.c')
-rw-r--r--libc/stdio/fflush.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/stdio/fflush.c b/libc/stdio/fflush.c
index d9104a42f..cf0356a38 100644
--- a/libc/stdio/fflush.c
+++ b/libc/stdio/fflush.c
@@ -97,8 +97,6 @@ int fflush_unlocked(register FILE *stream)
while(stream) {
/* We only care about currently writing streams and do not want to
* block trying to obtain mutexes on non-writing streams. */
-#warning fix for nonatomic
-#warning unnecessary check if no threads
if (__STDIO_STREAM_IS_WRITING(stream)) { /* ONLY IF ATOMIC!!! */
__MY_STDIO_THREADLOCK(stream);
/* Need to check again once we have the lock. */