[PATCH app-xcalc] Assume signal handlers return void, as C89 requires
Gaetan Nadon
memsize at videotron.ca
Mon Dec 16 10:53:13 PST 2013
Drops use of Imake's obsolete SIGNALRETURNSINT.
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
I could have changed signal_t for void, but I noticed this type name
to be known to BSD.
xcalc.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/xcalc.h b/xcalc.h
index 1924bf7..ad0f317 100644
--- a/xcalc.h
+++ b/xcalc.h
@@ -56,11 +56,7 @@ from the X Consortium.
#include <X11/Xlocale.h>
-#ifdef SIGNALRETURNSINT
-#define signal_t int
-#else
#define signal_t void
-#endif
#define kRECIP 0 /* reciprocal */
#define kSQR 1 /* square */
--
1.7.9.5
More information about the xorg-devel
mailing list