From 1556b96b1b3b03112f271dfe30e043ed538354fd Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 8 Aug 2022 18:16:09 +0200 Subject: [PATCH] Cygwin: stop exporting _alloca This is a remnant from 32 bit times, mindlessly copied into the 64 bit export table. Signed-off-by: Corinna Vinschen --- winsup/cygwin/cygwin.din | 1 - winsup/cygwin/include/cygwin/version.h | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din index c6768e4fc..f1371af1b 100644 --- a/winsup/cygwin/cygwin.din +++ b/winsup/cygwin/cygwin.din @@ -133,7 +133,6 @@ __xdrrec_getrec SIGFE __xdrrec_setnonblock SIGFE __xpg_sigpause SIGFE __xpg_strerror_r SIGFE -_alloca = __alloca NOSIGFE _dll_crt0 NOSIGFE _Exit SIGFE _exit SIGFE diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index 0eb472ad8..4a9de4cd6 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -477,12 +477,13 @@ details. */ sem_clockwait, sig2str, str2sig. 342: Remove cleanup_glue. 343: Change FD_SETSIZE and NOFILE. + 344: Remove _alloca. 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 343 +#define CYGWIN_VERSION_API_MINOR 344 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible changes are made to the shared