From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1921) id 47D4F3836427; Fri, 13 May 2022 11:20:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 47D4F3836427 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Sebastian Huber To: cygwin-cvs@sourceware.org, newlib-cvs@sourceware.org Subject: [newlib-cygwin] Make cleanup_glue() static X-Act-Checkin: newlib-cygwin X-Git-Author: Sebastian Huber X-Git-Refname: refs/heads/master X-Git-Oldrev: 0a862d13193616811ce897e2bd50ca3003b47f84 X-Git-Newrev: 01c823efb760caff1f7db1f6bf37ba24829ed76a Message-Id: <20220513112022.47D4F3836427@sourceware.org> Date: Fri, 13 May 2022 11:20:22 +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, 13 May 2022 11:20:22 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D01c823efb76= 0caff1f7db1f6bf37ba24829ed76a commit 01c823efb760caff1f7db1f6bf37ba24829ed76a Author: Sebastian Huber Date: Fri May 13 12:46:56 2022 +0200 Make cleanup_glue() static =20 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 */ =20 -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. =20 Note that we forgot to bump the api for ualarm, strtoll, strtoull, sigaltstack, sethostname. */ =20 #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 341 +#define CYGWIN_VERSION_API_MINOR 342 =20 /* There is also a compatibity version number associated with the shared m= emory regions. It is incremented when incompatible changes are made to the s= hared