header cleanup, conformance fixes - signals

This commit is contained in:
Rich Felker
2011-02-14 20:33:54 -05:00
parent c316b28445
commit 1322cb82a3
4 changed files with 36 additions and 25 deletions

View File

@ -1,6 +1,7 @@
#include <signal.h>
#include <stddef.h>
#include "syscall.h"
#include "libc.h"
int __sigaction(int, const struct sigaction *, struct sigaction *);
@ -11,3 +12,5 @@ void (*signal(int sig, void (*func)(int)))(int)
return SIG_ERR;
return sa.sa_handler;
}
weak_alias(signal, bsd_signal);