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/arm | |
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/arm')
-rw-r--r-- | sys/arm/include/signal.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/arm/include/signal.h b/sys/arm/include/signal.h index 973cda7..7073fa4 100644 --- a/sys/arm/include/signal.h +++ b/sys/arm/include/signal.h @@ -39,12 +39,15 @@ #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 __BSD_VISIBLE typedef int osigset_t; struct osigcontext { @@ -53,6 +56,6 @@ struct osigcontext { struct sigcontext { }; -#endif /* !_ANSI_SOURCE */ +#endif #endif /* !_MACHINE_SIGNAL_H_ */ |