[newlib-cygwin] Make cleanup_glue() static
Sebastian Huber
sh@sourceware.org
Fri May 13 11:20:22 GMT 2022
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
More information about the Cygwin-cvs
mailing list