From 78a1b1beb47866d8c70bf7e8efd8007e2f6eacf8 Mon Sep 17 00:00:00 2001 From: stefanf Date: Sat, 20 Aug 2005 16:44:41 +0000 Subject: Move MINSIGSTKSZ from to and rename it to __MINSIGSTKSZ. Define MINSIGSTKSZ in . This is done in order to use MINSIGSTKSZ for the macro PTHREAD_STACK_MIN in (soon ) without having to include the whole header. Discussed with: bde --- sys/alpha/include/_limits.h | 6 ++++++ sys/alpha/include/signal.h | 8 -------- 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'sys/alpha') diff --git a/sys/alpha/include/_limits.h b/sys/alpha/include/_limits.h index 6e9b567..0ab5874 100644 --- a/sys/alpha/include/_limits.h +++ b/sys/alpha/include/_limits.h @@ -87,4 +87,10 @@ #define __LONG_BIT 64 #define __WORD_BIT 32 +/* + * Minimum signal stack size. The current signal frame + * for Alpha is 808 bytes large. + */ +#define __MINSIGSTKSZ (1024 * 4) + #endif /* !_MACHINE__LIMITS_H_ */ diff --git a/sys/alpha/include/signal.h b/sys/alpha/include/signal.h index 7e91ed8..06f6a41 100644 --- a/sys/alpha/include/signal.h +++ b/sys/alpha/include/signal.h @@ -36,14 +36,6 @@ typedef long sig_atomic_t; -#if __XSI_VISIBLE -/* - * Minimum signal stack size. The current signal frame - * for Alpha is 808 bytes large. - */ -#define MINSIGSTKSZ (1024 * 4) -#endif - /* * Only the kernel should need these old type definitions. */ -- cgit v1.1