summaryrefslogtreecommitdiff
path: root/lisp/xedit.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/xedit.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/xedit.c')
-rw-r--r--lisp/xedit.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/lisp/xedit.c b/lisp/xedit.c
index a337912..8f191dc 100644
--- a/lisp/xedit.c
+++ b/lisp/xedit.c
@@ -98,11 +98,7 @@ static LispObj *XeditSearch(LispBuiltin*, XawTextScanDirection);
/*
* Initialization
*/
-#ifdef SIGNALRETURNSINT
-static int (*old_sigalrm)(int);
-#else
static void (*old_sigalrm)(int);
-#endif
EditModeInfo *mode_infos;
Cardinal num_mode_infos;
@@ -177,12 +173,7 @@ ControlGPredicate(Display *display, XEvent *event, XPointer arguments)
}
/*ARGSUSED*/
-static
-#ifdef SIGNALRETURNSINT
-int
-#else
-void
-#endif
+static void
SigalrmHandler(int signum)
{
XEvent event;
@@ -201,9 +192,6 @@ SigalrmHandler(int signum)
}
else
alarm(1);
-#ifdef SIGNALRETURNSINT
- return (0);
-#endif
}
static ssize_t