From: Eli Zaretskii Date: Fri, 6 Sep 2024 06:24:56 +0000 (+0300) Subject: Revert "Fix MinGW build broken by recent update from Gnulib" X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1994c6450e0b7c1b51bf9cc88289784590dd4435;p=emacs.git Revert "Fix MinGW build broken by recent update from Gnulib" This reverts commit b737c6125d69497ad5d2a29d4b5a2b17698992e5. It is no longer needed with the introduction of nt/inc/signal.h. (cherry picked from commit 266e321d966367f9bd9523a0dee901d8c905a0b4) --- diff --git a/lib/sig2str.h b/lib/sig2str.h index 03d50c94317..1abdb140e5a 100644 --- a/lib/sig2str.h +++ b/lib/sig2str.h @@ -19,21 +19,6 @@ #include -/* Maximum size of a signal name returned by sig2str(), including the - terminating NUL byte. */ -#ifndef SIG2STR_MAX -/* The longest one: "RTMAX", then "+" or "-", then up to 10 digits, then NUL. - Add + 2 as a reserve for the future. */ -# define SIG2STR_MAX (5 + 1 + 10 + 1 + 2) -#endif - -#ifndef HAVE_SIG2STR -int sig2str (int, char *); -#endif -#ifndef HAVE_STR2SIG -int str2sig (char const *, int *); -#endif - /* An upper bound on signal numbers allowed by the system. */ #if defined _sys_nsig