[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 266e321d966 3/4: Revert "Fix MinGW build broken by recent update
From: |
Eli Zaretskii |
Subject: |
master 266e321d966 3/4: Revert "Fix MinGW build broken by recent update from Gnulib" |
Date: |
Fri, 6 Sep 2024 02:36:59 -0400 (EDT) |
branch: master
commit 266e321d966367f9bd9523a0dee901d8c905a0b4
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
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.
---
lib/sig2str.h | 15 ---------------
1 file changed, 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