diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-03-13 14:03:03 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-03-13 14:03:03 +0300 |
commit | 8c5911b37c73fa542bc9d01c1aa193538f352a9c (patch) | |
tree | 6b4b232d410ad32ae3943e8f4967307d3062258c /newlib/libc/stdio | |
parent | ddc91e5b2ba18f9b8d72a20a853f0e7525891a4f (diff) |
setvbuf: Drop setting reent->__cleanup
The __sinit call added with 1eb6db6 already sets reent->__cleanup.
* libc/stdio/setvbuf.c (setvbuf): Drop setting reent->__cleanup.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdio')
-rw-r--r-- | newlib/libc/stdio/setvbuf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/newlib/libc/stdio/setvbuf.c b/newlib/libc/stdio/setvbuf.c index 52dd306e5..a8e46a5d0 100644 --- a/newlib/libc/stdio/setvbuf.c +++ b/newlib/libc/stdio/setvbuf.c @@ -203,7 +203,6 @@ nbf: */ if (mode == _IOLBF) fp->_flags |= __SLBF; - reent->__cleanup = _cleanup_r; fp->_bf._base = fp->_p = (unsigned char *) buf; fp->_bf._size = size; /* fp->_lbfsize is still 0 */ |