public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Make cleanup_glue() static
@ 2022-05-13 11:20 Sebastian Huber
  0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2022-05-13 11:20 UTC (permalink / raw)
  To: cygwin-cvs, newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=01c823efb760caff1f7db1f6bf37ba24829ed76a

commit 01c823efb760caff1f7db1f6bf37ba24829ed76a
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date:   Fri May 13 12:46:56 2022 +0200

    Make cleanup_glue() static
    
    Remove cleanup_glue from the list of symbols exported by Cygwin.

Diff:
---
 newlib/libc/reent/reent.c              | 2 +-
 winsup/cygwin/common.din               | 1 -
 winsup/cygwin/include/cygwin/version.h | 3 ++-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/newlib/libc/reent/reent.c b/newlib/libc/reent/reent.c
index 0bdd8aa62..70f1c5f45 100644
--- a/newlib/libc/reent/reent.c
+++ b/newlib/libc/reent/reent.c
@@ -30,7 +30,7 @@ int errno;
 #ifndef _REENT_GLOBAL_STDIO_STREAMS
 /* Interim cleanup code */
 
-void
+static void
 cleanup_glue (struct _reent *ptr,
      struct _glue *glue)
 {
diff --git a/winsup/cygwin/common.din b/winsup/cygwin/common.din
index 63fa09af2..751ab3754 100644
--- a/winsup/cygwin/common.din
+++ b/winsup/cygwin/common.din
@@ -316,7 +316,6 @@ chroot SIGFE
 cimag NOSIGFE
 cimagf NOSIGFE
 cimagl NOSIGFE
-cleanup_glue NOSIGFE
 clearenv SIGFE
 clearerr SIGFE
 clearerr_unlocked SIGFE
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index ad7fab43f..6f65a1299 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -516,12 +516,13 @@ details. */
   341: Export pthread_cond_clockwait, pthread_mutex_clocklock,
        pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock,
        sem_clockwait, sig2str, str2sig.
+  342: Remove cleanup_glue.
 
   Note that we forgot to bump the api for ualarm, strtoll, strtoull,
   sigaltstack, sethostname. */
 
 #define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 341
+#define CYGWIN_VERSION_API_MINOR 342
 
 /* There is also a compatibity version number associated with the shared memory
    regions.  It is incremented when incompatible changes are made to the shared


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-13 11:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13 11:20 [newlib-cygwin] Make cleanup_glue() static Sebastian Huber

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).