diff options
author | marcel <marcel@FreeBSD.org> | 2000-08-26 02:27:01 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2000-08-26 02:27:01 +0000 |
commit | 2aa2f64ab15b8b2ecdfdc07958e48422569beca5 (patch) | |
tree | c4bac9f5ef6517e7df890c2497693aff17f40a3a /sys/kern/kern_sig.c | |
parent | 9444fcb90911a699ca03a4806c21f6feecbf9aac (diff) | |
download | FreeBSD-src-2aa2f64ab15b8b2ecdfdc07958e48422569beca5.zip FreeBSD-src-2aa2f64ab15b8b2ecdfdc07958e48422569beca5.tar.gz |
Make this file compile again when COMPAT_43 has not been
defined. This boils down to conditionally compile the
old signal syscalls.
We might want to extend the types in syscalls.master to
make these syscalls conditionally on something more
appropriate than COMPAT_43.
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r-- | sys/kern/kern_sig.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 2d87b63..db3f46f 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -346,6 +346,7 @@ sigaction(p, uap) return (error); } +#ifdef COMPAT_43 /* XXX - COMPAT_FBSD3 */ #ifndef _SYS_SYSPROTO_H_ struct osigaction_args { int signum; @@ -385,6 +386,7 @@ osigaction(p, uap) } return (error); } +#endif /* COMPAT_43 */ /* * Initialize signal state for process 0; @@ -517,10 +519,10 @@ sigprocmask(p, uap) return (error); } +#ifdef COMPAT_43 /* XXX - COMPAT_FBSD3 */ /* * osigprocmask() - MP SAFE */ - #ifndef _SYS_SYSPROTO_H_ struct osigprocmask_args { int how; @@ -540,6 +542,7 @@ osigprocmask(p, uap) SIG2OSIG(oset, p->p_retval[0]); return (error); } +#endif /* COMPAT_43 */ #ifndef _SYS_SYSPROTO_H_ struct sigpending_args { @@ -556,6 +559,7 @@ sigpending(p, uap) return (copyout(&p->p_siglist, uap->set, sizeof(sigset_t))); } +#ifdef COMPAT_43 /* XXX - COMPAT_FBSD3 */ #ifndef _SYS_SYSPROTO_H_ struct osigpending_args { int dummy; @@ -571,6 +575,7 @@ osigpending(p, uap) SIG2OSIG(p->p_siglist, p->p_retval[0]); return (0); } +#endif /* COMPAT_43 */ #if defined(COMPAT_43) || defined(COMPAT_SUNOS) /* @@ -710,6 +715,7 @@ sigsuspend(p, uap) return (EINTR); } +#ifdef COMPAT_43 /* XXX - COMPAT_FBSD3 */ #ifndef _SYS_SYSPROTO_H_ struct osigsuspend_args { osigset_t mask; @@ -734,6 +740,7 @@ osigsuspend(p, uap) /* always return EINTR rather than ERESTART... */ return (EINTR); } +#endif /* COMPAT_43 */ #if defined(COMPAT_43) || defined(COMPAT_SUNOS) #ifndef _SYS_SYSPROTO_H_ |