summaryrefslogtreecommitdiff
path: root/lisp/lisp.c
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2013-12-17 11:28:21 -0500
committerGaetan Nadon <memsize@videotron.ca>2013-12-17 11:28:21 -0500
commit24b3001f0d857fa40225efc1db169b29e88b4b4d (patch)
treeb2f6257b665f7453ff6331596e563230b1b024f4 /lisp/lisp.c
parent505fc48999ca2c7040a47900697d95c6ab78d009 (diff)
Remove obsolete Imake SIGNALRETURNSINT
Assume signal handlers return void, as C89 requires Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'lisp/lisp.c')
-rw-r--r--lisp/lisp.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/lisp/lisp.c b/lisp/lisp.c
index 206c038..411240a 100644
--- a/lisp/lisp.c
+++ b/lisp/lisp.c
@@ -158,13 +158,7 @@ static INLINE void LispProt(LispObj*);
static LispObj *LispCheckNeedProtect(LispObj*);
-static
-#ifdef SIGNALRETURNSINT
-int
-#else
-void
-#endif
-LispSignalHandler(int);
+static void LispSignalHandler(int);
/*
* Initialization
@@ -5009,17 +5003,10 @@ LispUpdateResults(LispObj *cod, LispObj *res)
LispSetVar(RES[0], res);
}
-#ifdef SIGNALRETURNSINT
-int
-#else
void
-#endif
LispSignalHandler(int signum)
{
LispSignal(signum);
-#ifdef SIGNALRETURNSINT
- return (0);
-#endif
}
void