From: Dan Nicolaescu Date: Fri, 6 Aug 2010 00:07:36 +0000 (-0700) Subject: * src/syssignal.h (signal_handler_t): Restore accidentally removed definition. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~49^2~55 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ae877222c5af8c0d670adec1b68f4ad18f8466a2;p=emacs.git * src/syssignal.h (signal_handler_t): Restore accidentally removed definition. --- diff --git a/src/syssignal.h b/src/syssignal.h index 57f7f6eec70..48eb7229353 100644 --- a/src/syssignal.h +++ b/src/syssignal.h @@ -68,6 +68,10 @@ extern sigset_t sys_sigmask (); #undef signal #define signal(SIG,ACT) sys_signal(SIG,ACT) +/* Whether this is what all systems want or not, this is what + appears to be assumed in the source, for example data.c:arith_error. */ +typedef RETSIGTYPE (*signal_handler_t) (int); + signal_handler_t sys_signal (int signal_number, signal_handler_t action); sigset_t sys_sigblock (sigset_t new_mask); sigset_t sys_sigunblock (sigset_t new_mask);