diff options
author | mike <mike@FreeBSD.org> | 2002-10-13 00:31:46 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-10-13 00:31:46 +0000 |
commit | 0768501a2f97c84d945fb05b25e74571831b80ae (patch) | |
tree | a54ed073afa8e1bba3ecf5040407642d165c5b5e /sys/sparc64/include/signal.h | |
parent | a856de411e8177639fd2e0457e5bf7fd6f75948d (diff) | |
download | FreeBSD-src-0768501a2f97c84d945fb05b25e74571831b80ae.zip FreeBSD-src-0768501a2f97c84d945fb05b25e74571831b80ae.tar.gz |
Add standards visibility conditionals. Change any uses of sigset_t to
struct __sigset to avoid depending on objects from <sys/signal.h>.
Diffstat (limited to 'sys/sparc64/include/signal.h')
-rw-r--r-- | sys/sparc64/include/signal.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/sys/sparc64/include/signal.h b/sys/sparc64/include/signal.h index f751d0b..753077c 100644 --- a/sys/sparc64/include/signal.h +++ b/sys/sparc64/include/signal.h @@ -38,22 +38,26 @@ #ifndef _MACHINE_SIGNAL_H_ #define _MACHINE_SIGNAL_H_ -typedef long sig_atomic_t; +#include <sys/cdefs.h> -#ifndef _ANSI_SOURCE +typedef long sig_atomic_t; +#if __XSI_VISIBLE #define MINSIGSTKSZ (1024 * 4) +#endif +#if _KERNEL typedef int osigset_t; struct osigcontext { int dummy; }; +#endif +#if __BSD_VISIBLE struct sigcontext { - int dummy; + int _dummy; }; - -#endif /* !_ANSI_SOURCE */ +#endif /* __BSD_VISIBLE */ #endif /* !_MACHINE_SIGNAL_H_ */ |