diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-12-18 15:42:54 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-12-18 15:42:54 +0000 |
commit | c0aa54c9b441f7548fa6ba79a87594b2168fd120 (patch) | |
tree | ce4f0244876984a28ae20dcac381e003f4fe12e7 /sys/arch/sparc/include | |
parent | b82cd7c01a322762d9e140071e45089d72905e97 (diff) |
Don't include cdefs.h if _LOCORE is defined and hide some more defines
unless __BSD_VISIBLE or _LOCORE are set. OK deraadt@
Diffstat (limited to 'sys/arch/sparc/include')
-rw-r--r-- | sys/arch/sparc/include/signal.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc/include/signal.h b/sys/arch/sparc/include/signal.h index 8d98f56b107..8d219014984 100644 --- a/sys/arch/sparc/include/signal.h +++ b/sys/arch/sparc/include/signal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: signal.h,v 1.6 2005/12/17 05:02:18 millert Exp $ */ +/* $OpenBSD: signal.h,v 1.7 2005/12/18 15:42:53 millert Exp $ */ /* $NetBSD: signal.h,v 1.4 1996/02/01 22:32:35 mycroft Exp $ */ /* @@ -80,6 +80,7 @@ struct sigcontext { #define SC_O0_OFFSET 28 #endif /* _LOCORE */ +#if defined(_LOCORE) || __BSD_VISIBLE /* * `Code' arguments to signal handlers. The names, and the funny numbering. * are defined so as to match up with what SunOS uses; I have no idea why @@ -92,5 +93,5 @@ struct sigcontext { #define FPE_FLTUND_TRAP 0xcc /* underflow */ #define FPE_FLTOPERR_TRAP 0xd0 /* operand error */ #define FPE_FLTOVF_TRAP 0xd4 /* overflow */ - +#endif /* _LOCORE || __BSD_VISIBLE */ #endif /* !_SPARC_SIGNAL_H_ */ |