public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin] Remove unused _cleanup()
Date: Fri, 1 Apr 2022 14:01:02 +0000 (GMT) [thread overview]
Message-ID: <20220401140102.DBABA389EC55@sourceware.org> (raw)
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=aac414986fcf5fd66b76d061eda3d3618d64eff1
commit aac414986fcf5fd66b76d061eda3d3618d64eff1
Author: Matt Joyce <matthew.joyce@embedded-brains.de>
Date: Thu Mar 31 16:34:55 2022 +0200
Remove unused _cleanup()
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);
}
-#ifndef _REENT_ONLY
-void
-_cleanup (void)
-{
- cleanup_stdio (_GLOBAL_REENT);
-}
-#endif
-
/*
* __sinit() is called whenever stdio's internal variables must be set up.
*/
reply other threads:[~2022-04-01 14:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220401140102.DBABA389EC55@sourceware.org \
--to=corinna@sourceware.org \
--cc=newlib-cvs@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).