summaryrefslogtreecommitdiff
path: root/xcalc.h
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2013-12-17 08:24:45 -0500
committerGaetan Nadon <memsize@videotron.ca>2013-12-18 16:04:49 -0500
commit8afe5270310698d24fff370276c7fd91eb816720 (patch)
treeec358c3531f170d8d70e12ae5ceefb56d6c70b9a /xcalc.h
parent40911339c45a880abbe6ad60dac4718a402d88ab (diff)
Replace signal_t with void
Now that Imake SIGNALRETURNSINT has been removed, the signal handler function return type can only be void. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'xcalc.h')
-rw-r--r--xcalc.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/xcalc.h b/xcalc.h
index ad0f317..1492a01 100644
--- a/xcalc.h
+++ b/xcalc.h
@@ -55,9 +55,6 @@ from the X Consortium.
#include <errno.h>
#include <X11/Xlocale.h>
-
-#define signal_t void
-
#define kRECIP 0 /* reciprocal */
#define kSQR 1 /* square */
#define kSQRT 2 /* square root */
@@ -118,8 +115,8 @@ extern XtActionsRec Actions[];
extern int ActionsCount;
/* math.c */
-extern signal_t fperr(int sig) _X_NORETURN;
-extern signal_t illerr(int sig) _X_NORETURN;
+extern void fperr(int sig) _X_NORETURN;
+extern void illerr(int sig) _X_NORETURN;
extern void fail_op(void);
extern int pre_op(int keynum);
extern void post_op(void);