diff options
author | Matt Joyce <matthew.joyce@embedded-brains.de> | 2022-03-31 16:34:54 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2022-04-01 15:42:32 +0200 |
commit | a160ee29e532e596c90e93fbe7b390d3970e21ef (patch) | |
tree | 8d77a5b409cfd6f0b5b7418afb75d8a5da0ca483 /newlib/libc/stdio/setbuffer.c | |
parent | 3e3ccfaee6b3c36944e445d68543e8be4654c535 (diff) | |
download | newlib-a160ee29e532e596c90e93fbe7b390d3970e21ef.zip newlib-a160ee29e532e596c90e93fbe7b390d3970e21ef.tar.gz newlib-a160ee29e532e596c90e93fbe7b390d3970e21ef.tar.bz2 |
Fix bug introduced in previous patch (44b60f0c)
This fixes a bug introduced in a previous patch (Commit 44b60f0c:
Make __sdidinit unused). Removed intitialization of __cleanup from
__smakebuf_r(). All callers of __smakebuf_r() call __sinit()
through the_CHECK_INIT macro, thus __cleanup is already
initialized. This fix also allows _cleanup_r() to be made static.
Changed its name to cleanup_stdio() and removed its declaration
from local.h.
Diffstat (limited to 'newlib/libc/stdio/setbuffer.c')
0 files changed, 0 insertions, 0 deletions