]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Fix MinGW build broken by recent update from Gnulib"
authorEli Zaretskii <eliz@gnu.org>
Fri, 6 Sep 2024 06:24:56 +0000 (09:24 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 8 Sep 2024 11:22:57 +0000 (13:22 +0200)
This reverts commit b737c6125d69497ad5d2a29d4b5a2b17698992e5.
It is no longer needed with the introduction of nt/inc/signal.h.

(cherry picked from commit 266e321d966367f9bd9523a0dee901d8c905a0b4)

lib/sig2str.h

index 03d50c94317a0a8dcf85efac65be83772fafdfd9..1abdb140e5ae47504fa74a0eb4d4dc1f22d3472f 100644 (file)
 
 #include <signal.h>
 
-/* 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