changeset 109638:e04aa89bb748

* src/syssignal.h (signal_handler_t): Restore accidentally removed definition.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 05 Aug 2010 17:07:36 -0700
parents c4c8e4a16194
children 8ee3605b9d8a
files src/syssignal.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/syssignal.h	Thu Aug 05 16:34:12 2010 -0700
+++ b/src/syssignal.h	Thu Aug 05 17:07:36 2010 -0700
@@ -68,6 +68,10 @@
 #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);