Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fflush.c')
-rw-r--r--newlib/libc/stdio/fflush.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/newlib/libc/stdio/fflush.c b/newlib/libc/stdio/fflush.c
index 866bc83aa..30ac9967f 100644
--- a/newlib/libc/stdio/fflush.c
+++ b/newlib/libc/stdio/fflush.c
@@ -63,11 +63,8 @@ _DEFUN (fflush, (fp),
register unsigned char *p;
register int n, t;
-
-
-
if (fp == NULL)
- return _fwalk (_REENT, fflush);
+ return _fwalk (_GLOBAL_REENT, fflush);
_flockfile(fp);