changeset 3008:be594f78bfa7

* syssignal.h (sys_signal): Declare the second argument to have type signal_handler_t. We're told this is necessary for Linux.
author Jim Blandy <jimb@redhat.com>
date Mon, 24 May 1993 05:12:22 +0000
parents e41b3dc686bb
children 1b3cab5f40e4
files src/syssignal.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/syssignal.h	Mon May 24 05:06:35 1993 +0000
+++ b/src/syssignal.h	Mon May 24 05:12:22 1993 +0000
@@ -58,7 +58,7 @@
    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, int (*action)());
+signal_handler_t sys_signal (int signal_number, signal_handler_t action);
 int      sys_sigpause   (sigset_t new_mask);
 sigset_t sys_sigblock   (sigset_t new_mask);
 sigset_t sys_sigunblock (sigset_t new_mask);