[PATCH 2/2] Remove unused _cleanup()
Matthew Joyce
matthew.joyce@embedded-brains.de
Thu Mar 31 14:34:55 GMT 2022
From: Matt Joyce <matthew.joyce@embedded-brains.de>
Removed the unused function _cleanup() from findfp.c.
---
newlib/libc/stdio/findfp.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/newlib/libc/stdio/findfp.c b/newlib/libc/stdio/findfp.c
index aa5e366d8..1370b63b8 100644
--- a/newlib/libc/stdio/findfp.c
+++ b/newlib/libc/stdio/findfp.c
@@ -228,14 +228,6 @@ cleanup_stdio (struct _reent *ptr)
(void) _fwalk_reent (ptr, cleanup_func);
}
-#ifndef _REENT_ONLY
-void
-_cleanup (void)
-{
- cleanup_stdio (_GLOBAL_REENT);
-}
-#endif
-
/*
* __sinit() is called whenever stdio's internal variables must be set up.
*/
--
2.31.1
More information about the Newlib
mailing list