]> code.delx.au - gnu-emacs/blobdiff - src/syssignal.h
Merge from emacs-23
[gnu-emacs] / src / syssignal.h
index 57f7f6eec7001fdf8f5df1c9d0019ef30edde3bb..83743dd8cc71cb0b945237499e205f86ebc18cf5 100644 (file)
@@ -1,6 +1,6 @@
 /* syssignal.h - System-dependent definitions for signals.
    Copyright (C) 1993, 1999, 2001, 2002, 2003, 2004,
-                 2005, 2006, 2007, 2008, 2009, 2010  Free Software Foundation, Inc.
+                 2005, 2006, 2007, 2008, 2009, 2010, 2011  Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -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);