Remove duplicate stdio initializations
Removed duplicate stdio initializations from __sinit(). These are already initialized in the _REENT_INIT macro in sys/reent.h. This simplification enables the reduction of _GLOBAL_REENT dependency in a follow-on patch.
This commit is contained in:
parent
7c804d160d
commit
5a066d46c9
|
@ -259,10 +259,6 @@ __sinit (struct _reent *s)
|
|||
s->_stdin = __sfp(s);
|
||||
s->_stdout = __sfp(s);
|
||||
s->_stderr = __sfp(s);
|
||||
# else /* _REENT_GLOBAL_STDIO_STREAMS */
|
||||
s->_stdin = &__sf[0];
|
||||
s->_stdout = &__sf[1];
|
||||
s->_stderr = &__sf[2];
|
||||
# endif /* _REENT_GLOBAL_STDIO_STREAMS */
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue