summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2024-09-06 09:24:56 +0300
committerEli Zaretskii <eliz@gnu.org>2024-09-06 09:24:56 +0300
commit266e321d966367f9bd9523a0dee901d8c905a0b4 (patch)
tree98f2fe872b4a380444fcdaf8f518c9f3f960d21e /lib
parente218d090876d9bffca06284247cc4cba89677ec9 (diff)
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/sig2str.h15
1 files changed, 0 insertions, 15 deletions
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 <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