From 27ad840ea53a4a1c25497d71c2df55f1cf4d25f8 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 26 Jun 2013 21:34:16 +0000 Subject: 2013-06-26 Jeff Johnston * libc/include/stdio.h: Specify std streams always in terms of _REENT. * libc/include/wchar.h: Ditto. * libc/include/sys/reent.h: Remove _RENT_ONLY check around setting of _REENT macro. --- newlib/libc/include/stdio.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'newlib/libc/include/stdio.h') diff --git a/newlib/libc/include/stdio.h b/newlib/libc/include/stdio.h index 534719a..504e671 100644 --- a/newlib/libc/include/stdio.h +++ b/newlib/libc/include/stdio.h @@ -139,15 +139,9 @@ typedef _fpos64_t fpos64_t; #define TMP_MAX 26 -#ifndef _REENT_ONLY #define stdin (_REENT->_stdin) #define stdout (_REENT->_stdout) #define stderr (_REENT->_stderr) -#else /* _REENT_ONLY */ -#define stdin (_impure_ptr->_stdin) -#define stdout (_impure_ptr->_stdout) -#define stderr (_impure_ptr->_stderr) -#endif /* _REENT_ONLY */ #define _stdin_r(x) ((x)->_stdin) #define _stdout_r(x) ((x)->_stdout) -- cgit v1.1