[PATCH 2/2] Remove unused _cleanup()

Matthew Joyce <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
From: Matt Joyce <[email protected]>

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.