diff options
Diffstat (limited to 'newlib/libc/stdio/fflush.c')
-rw-r--r-- | newlib/libc/stdio/fflush.c | 5 |
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); |