From aac414986fcf5fd66b76d061eda3d3618d64eff1 Mon Sep 17 00:00:00 2001 From: Matt Joyce Date: Thu, 31 Mar 2022 16:34:55 +0200 Subject: [PATCH] Remove unused _cleanup() 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. */