diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2013-12-17 11:28:21 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2013-12-17 11:28:21 -0500 |
commit | 24b3001f0d857fa40225efc1db169b29e88b4b4d (patch) | |
tree | b2f6257b665f7453ff6331596e563230b1b024f4 /ispell.c | |
parent | 505fc48999ca2c7040a47900697d95c6ab78d009 (diff) |
Remove obsolete Imake SIGNALRETURNSINT
Assume signal handlers return void, as C89 requires
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'ispell.c')
-rw-r--r-- | ispell.c | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -181,13 +181,8 @@ static void ReplaceIspell(Widget, XtPointer, XtPointer); static void RevertIspell(Widget, XtPointer, XtPointer); static void SelectIspell(Widget, XtPointer, XtPointer); static void ToggleTerseIspell(Widget, XtPointer, XtPointer); -#ifndef SIGNALRETURNSINT static void timeout_signal(int); static void (*old_timeout)(int); -#else -static int timeout_signal(int); -static int (*old_timeout)(int); -#endif static void UndoIspell(Widget, XtPointer, XtPointer); Bool _XawTextSrcUndo(TextSrcObject, XawTextPosition*); @@ -312,7 +307,6 @@ IsUpper(int ch) #endif /*ARGSUSED*/ -#ifndef SIGNALRETURNSINT static void timeout_signal(int unused) { @@ -322,19 +316,6 @@ timeout_signal(int unused) kill(ispell.pid, SIGTERM); errno = olderrno; } -#else -static int -timeout_signal(int unused) -{ - int olderrno = errno; - - WRITES("Warning: Timeout waiting ispell process to die.\n"); - kill(ispell.pid, SIGTERM); - - errno = olderrno; - return (0); -} -#endif static void IspellSetSelection(XawTextPosition left, XawTextPosition right) |