diff options
author | stefanf <stefanf@FreeBSD.org> | 2005-08-20 16:44:41 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2005-08-20 16:44:41 +0000 |
commit | 78a1b1beb47866d8c70bf7e8efd8007e2f6eacf8 (patch) | |
tree | 0c9d939aa363baa5fbd07daf4d09c3119f9d113e /sys/arm | |
parent | c6a218f383ff054f35a5554fa966e7f363b38fd4 (diff) | |
download | FreeBSD-src-78a1b1beb47866d8c70bf7e8efd8007e2f6eacf8.zip FreeBSD-src-78a1b1beb47866d8c70bf7e8efd8007e2f6eacf8.tar.gz |
Move MINSIGSTKSZ from <machine/signal.h> to <machine/_limits.h> and rename
it to __MINSIGSTKSZ. Define MINSIGSTKSZ in <sys/signal.h>.
This is done in order to use MINSIGSTKSZ for the macro PTHREAD_STACK_MIN
in <pthread.h> (soon <limits.h>) without having to include the whole
<sys/signal.h> header.
Discussed with: bde
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/include/_limits.h | 3 | ||||
-rw-r--r-- | sys/arm/include/signal.h | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/arm/include/_limits.h b/sys/arm/include/_limits.h index 25616e5..0d9e492 100644 --- a/sys/arm/include/_limits.h +++ b/sys/arm/include/_limits.h @@ -94,4 +94,7 @@ #endif #define __WORD_BIT 32 +/* Minimum signal stack size. */ +#define __MINSIGSTKSZ (1024 * 4) + #endif /* !_MACHINE__LIMITS_H_ */ diff --git a/sys/arm/include/signal.h b/sys/arm/include/signal.h index abc5188..2170082 100644 --- a/sys/arm/include/signal.h +++ b/sys/arm/include/signal.h @@ -39,10 +39,6 @@ typedef long sig_atomic_t; -#if __XSI_VISIBLE -#define MINSIGSTKSZ (1024 * 4) -#endif - #if __BSD_VISIBLE struct sigcontext { |