From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id DBABA389EC55; Fri, 1 Apr 2022 14:01:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DBABA389EC55 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Remove unused _cleanup() X-Act-Checkin: newlib-cygwin X-Git-Author: Matt Joyce X-Git-Refname: refs/heads/master X-Git-Oldrev: a160ee29e532e596c90e93fbe7b390d3970e21ef X-Git-Newrev: aac414986fcf5fd66b76d061eda3d3618d64eff1 Message-Id: <20220401140102.DBABA389EC55@sourceware.org> Date: Fri, 1 Apr 2022 14:01:02 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2022 14:01:03 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Daac414986fc= f5fd66b76d061eda3d3618d64eff1 commit aac414986fcf5fd66b76d061eda3d3618d64eff1 Author: Matt Joyce Date: Thu Mar 31 16:34:55 2022 +0200 Remove unused _cleanup() =20 Removed the unused function _cleanup() from findfp.c. Diff: --- 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); } =20 -#ifndef _REENT_ONLY -void -_cleanup (void) -{ - cleanup_stdio (_GLOBAL_REENT); -} -#endif - /* * __sinit() is called whenever stdio's internal variables must be set up. */