diff options
author | bde <bde@FreeBSD.org> | 1996-10-25 16:20:34 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-10-25 16:20:34 +0000 |
commit | ccd3ba3727691f91198db0cc85afabfd9e88a1ea (patch) | |
tree | 97b0ae434bca8c6d45f51cf411a884f3e79ea382 /sys | |
parent | 4561c758bb75d0deb7daba0a85778b82027a1cec (diff) | |
download | FreeBSD-src-ccd3ba3727691f91198db0cc85afabfd9e88a1ea.zip FreeBSD-src-ccd3ba3727691f91198db0cc85afabfd9e88a1ea.tar.gz |
Declare pointers to signal handling functions in full instead of as
sig_t's so that <sys/signal.h> isn't a prerequisite.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/alpha/linux/linux.h | 5 | ||||
-rw-r--r-- | sys/i386/linux/linux.h | 5 | ||||
-rw-r--r-- | sys/sys/sysent.h | 4 |
3 files changed, 6 insertions, 8 deletions
diff --git a/sys/alpha/linux/linux.h b/sys/alpha/linux/linux.h index 20175ea..d62bd62 100644 --- a/sys/alpha/linux/linux.h +++ b/sys/alpha/linux/linux.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux.h,v 1.8 1996/03/10 22:30:52 peter Exp $ + * $Id: linux.h,v 1.9 1996/10/15 19:22:29 bde Exp $ */ #ifndef _I386_LINUX_LINUX_H_ @@ -96,7 +96,7 @@ struct linux_sigcontext { struct linux_sigframe { int sf_sig; struct linux_sigcontext sf_sc; - sig_t sf_handler; + void (*sf_handler)(int); }; extern int bsd_to_linux_errno[]; @@ -522,5 +522,4 @@ struct trapframe; #define LINUX_ASYNC_CALLOUT_NOHUP 0x0400 #define LINUX_ASYNC_FLAGS 0x0FFF - #endif /* !_I386_LINUX_LINUX_H_ */ diff --git a/sys/i386/linux/linux.h b/sys/i386/linux/linux.h index 20175ea..d62bd62 100644 --- a/sys/i386/linux/linux.h +++ b/sys/i386/linux/linux.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux.h,v 1.8 1996/03/10 22:30:52 peter Exp $ + * $Id: linux.h,v 1.9 1996/10/15 19:22:29 bde Exp $ */ #ifndef _I386_LINUX_LINUX_H_ @@ -96,7 +96,7 @@ struct linux_sigcontext { struct linux_sigframe { int sf_sig; struct linux_sigcontext sf_sc; - sig_t sf_handler; + void (*sf_handler)(int); }; extern int bsd_to_linux_errno[]; @@ -522,5 +522,4 @@ struct trapframe; #define LINUX_ASYNC_CALLOUT_NOHUP 0x0400 #define LINUX_ASYNC_FLAGS 0x0FFF - #endif /* !_I386_LINUX_LINUX_H_ */ diff --git a/sys/sys/sysent.h b/sys/sys/sysent.h index b815763..6ac1fd6 100644 --- a/sys/sys/sysent.h +++ b/sys/sys/sysent.h @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sysent.h,v 1.9 1996/04/04 01:08:20 smpatel Exp $ + * $Id: sysent.h,v 1.10 1996/06/18 05:15:41 dyson Exp $ */ #ifndef _SYS_SYSENT_H_ @@ -56,7 +56,7 @@ struct sysentvec { int *sv_errtbl; /* errno translation table */ int (*sv_fixup) __P((int **, struct image_params *)); /* stack fixup function */ - void (*sv_sendsig) __P((sig_t, int, int, u_long)); + void (*sv_sendsig) __P((void (*)(int), int, int, u_long)); /* send signal */ char *sv_sigcode; /* start of sigtramp code */ int *sv_szsigcode; /* size of sigtramp code */ |