diff options
author | Glenn Morris <rgm@gnu.org> | 2011-03-26 19:27:11 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-03-26 19:27:11 -0700 |
commit | 9af30bdf17f8371664bc0c5854c91c2e46257b5e (patch) | |
tree | ef68d0a44cbdc312405a65101dbc5df41316c71a /src/atimer.c | |
parent | 7a097943f7d3433a5d053eee4b2f3254230fee64 (diff) | |
download | emacs-9af30bdf17f8371664bc0c5854c91c2e46257b5e.tar.gz emacs-9af30bdf17f8371664bc0c5854c91c2e46257b5e.tar.bz2 emacs-9af30bdf17f8371664bc0c5854c91c2e46257b5e.zip |
Remove (RET)SIGTYPE; it is identical to void on all supported systems.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg01068.html
* configure.in (AC_TYPE_SIGNAL): Remove obsolete macro.
(AH_BOTTOM): Do not define SIGTYPE.
* lib-src/emacsclient.c: Replace SIGTYPE with void.
* nt/config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
* src/syssignal.h: Replace RETSIGTYPE with void.
* src/atimer.c, src/data.c, src/dispnew.c, src/emacs.c, src/floatfns.c:
* src/keyboard.c, src/keyboard.h, src/lisp.h, src/process.c, src/sysdep.c:
* src/xterm.c: Replace SIGTYPE with void everywhere.
* src/s/template.h (SIGTYPE): Remove commented out definition.
* src/s/usg5-4-common.h (SIGTYPE): Remove definition.
* admin/CPP-DEFINES: Remove SIGTYPE.
Diffstat (limited to 'src/atimer.c')
-rw-r--r-- | src/atimer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atimer.c b/src/atimer.c index e10add961eb..b947ea59ccd 100644 --- a/src/atimer.c +++ b/src/atimer.c @@ -64,7 +64,7 @@ static void set_alarm (void); static void schedule_atimer (struct atimer *); static struct atimer *append_atimer_lists (struct atimer *, struct atimer *); -SIGTYPE alarm_signal_handler (int signo); +void alarm_signal_handler (int signo); /* Start a new atimer of type TYPE. TIME specifies when the timer is @@ -388,7 +388,7 @@ run_timers (void) /* Signal handler for SIGALRM. SIGNO is the signal number, i.e. SIGALRM. */ -SIGTYPE +void alarm_signal_handler (int signo) { #ifndef SYNC_INPUT |