summaryrefslogtreecommitdiff
path: root/src/syssignal.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-05-24 05:12:22 +0000
committerJim Blandy <jimb@redhat.com>1993-05-24 05:12:22 +0000
commit2e903afbc7c313ddea8f0d530d55ff21649170ce (patch)
tree0d9998c568f5646f795b801ffc2e74fcb3dd0015 /src/syssignal.h
parentdfd29450bf5f29e6daf0d27e6cc28410168e1b3d (diff)
downloademacs-2e903afbc7c313ddea8f0d530d55ff21649170ce.tar.gz
* syssignal.h (sys_signal): Declare the second argument to have
type signal_handler_t. We're told this is necessary for Linux.
Diffstat (limited to 'src/syssignal.h')
-rw-r--r--src/syssignal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syssignal.h b/src/syssignal.h
index 6a91f913568..40deead0fbe 100644
--- a/src/syssignal.h
+++ b/src/syssignal.h
@@ -58,7 +58,7 @@ extern sigset_t empty_mask, full_mask, temp_mask;
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);