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/fcloseall.c')
-rw-r--r--newlib/libc/stdio/fcloseall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/fcloseall.c b/newlib/libc/stdio/fcloseall.c
index a34d8210c..d51c6fe34 100644
--- a/newlib/libc/stdio/fcloseall.c
+++ b/newlib/libc/stdio/fcloseall.c
@@ -82,7 +82,7 @@ _fcloseall_r (ptr)
int
fcloseall (void)
{
- return _fcloseall_r (_REENT);
+ return _fcloseall_r (_GLOBAL_REENT);
}
#endif