aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/fcloseall.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fcloseall.c')
-rw-r--r--newlib/libc/stdio/fcloseall.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/newlib/libc/stdio/fcloseall.c b/newlib/libc/stdio/fcloseall.c
index 642dc7d..e840af2 100644
--- a/newlib/libc/stdio/fcloseall.c
+++ b/newlib/libc/stdio/fcloseall.c
@@ -59,12 +59,8 @@ Required OS subroutines: <<close>>, <<fstat>>, <<isatty>>, <<lseek>>,
int
_fcloseall_r (struct _reent *ptr)
{
-#ifdef _REENT_GLOBAL_STDIO_STREAMS
/* There are no thread-specific FILE objects */
return 0;
-#else
- return _fwalk_sglue (ptr, _fclose_r, &ptr->__sglue);
-#endif
}
#ifndef _REENT_ONLY