Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Include <sys/common_init_limits.h> if __SIG_ATOMIC_...



details:   https://anonhg.NetBSD.org/src/rev/46f84852fef1
branches:  trunk
changeset: 801684:46f84852fef1
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Aug 13 22:31:06 2014 +0000

description:
Include <sys/common_init_limits.h> if __SIG_ATOMIC_MAX__ is defined.

diffstat:

 sys/arch/alpha/include/int_limits.h   |  7 ++++++-
 sys/arch/ia64/include/int_limits.h    |  7 ++++++-
 sys/arch/m68k/include/int_limits.h    |  7 ++++++-
 sys/arch/mips/include/int_limits.h    |  7 ++++++-
 sys/arch/powerpc/include/int_limits.h |  7 ++++++-
 sys/arch/sh3/include/int_limits.h     |  7 ++++++-
 sys/arch/sparc/include/int_limits.h   |  7 ++++++-
 sys/arch/vax/include/int_limits.h     |  7 ++++++-
 8 files changed, 48 insertions(+), 8 deletions(-)

diffs (208 lines):

diff -r d72a369c5dc9 -r 46f84852fef1 sys/arch/alpha/include/int_limits.h
--- a/sys/arch/alpha/include/int_limits.h       Wed Aug 13 22:25:39 2014 +0000
+++ b/sys/arch/alpha/include/int_limits.h       Wed Aug 13 22:31:06 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_limits.h,v 1.8 2012/02/06 02:14:13 matt Exp $      */
+/*     $NetBSD: int_limits.h,v 1.9 2014/08/13 22:31:06 matt Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _ALPHA_INT_LIMITS_H_
 #define _ALPHA_INT_LIMITS_H_
 
+#ifdef __SIG_ATOMIC_MAX__
+#include <sys/common_int_limits.h>
+#else
 /*
  * 7.18.2 Limits of specified-width integer types
  */
@@ -124,4 +127,6 @@
 /* limit of size_t */
 #define        SIZE_MAX        0xffffffffffffffffUL            /* size_t         */
 
+#endif /* !__SIG_ATOMIC_MAX__ */
+
 #endif /* !_ALPHA_INT_LIMITS_H_ */
diff -r d72a369c5dc9 -r 46f84852fef1 sys/arch/ia64/include/int_limits.h
--- a/sys/arch/ia64/include/int_limits.h        Wed Aug 13 22:25:39 2014 +0000
+++ b/sys/arch/ia64/include/int_limits.h        Wed Aug 13 22:31:06 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_limits.h,v 1.4 2008/04/28 20:23:25 martin Exp $    */
+/*     $NetBSD: int_limits.h,v 1.5 2014/08/13 22:31:06 matt Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _IA64_INT_LIMITS_H_
 #define _IA64_INT_LIMITS_H_
 
+#ifdef __SIG_ATOMIC_MAX__
+#include <sys/common_int_limits.h>
+#else
 /*
  * 7.18.2 Limits of specified-width integer types
  */
@@ -124,4 +127,6 @@
 /* limit of size_t */
 #define        SIZE_MAX        0xffffffffffffffffUL            /* size_t         */
 
+#endif /* !__SIG_ATOMIC_MAX__ */
+
 #endif /* !_IA64_INT_LIMITS_H_ */
diff -r d72a369c5dc9 -r 46f84852fef1 sys/arch/m68k/include/int_limits.h
--- a/sys/arch/m68k/include/int_limits.h        Wed Aug 13 22:25:39 2014 +0000
+++ b/sys/arch/m68k/include/int_limits.h        Wed Aug 13 22:31:06 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_limits.h,v 1.7 2008/04/28 20:23:26 martin Exp $    */
+/*     $NetBSD: int_limits.h,v 1.8 2014/08/13 22:31:07 matt Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _M68K_INT_LIMITS_H_
 #define _M68K_INT_LIMITS_H_
 
+#ifdef __SIG_ATOMIC_MAX__
+#include <sys/common_int_limits.h>
+#else
 /*
  * 7.18.2 Limits of specified-width integer types
  */
@@ -124,4 +127,6 @@
 /* limit of size_t */
 #define        SIZE_MAX        0xffffffffU                     /* size_t         */
 
+#endif /* !__SIG_ATOMIC_MAX__ */
+
 #endif /* !_M68K_INT_LIMITS_H_ */
diff -r d72a369c5dc9 -r 46f84852fef1 sys/arch/mips/include/int_limits.h
--- a/sys/arch/mips/include/int_limits.h        Wed Aug 13 22:25:39 2014 +0000
+++ b/sys/arch/mips/include/int_limits.h        Wed Aug 13 22:31:06 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_limits.h,v 1.8 2008/04/28 20:23:28 martin Exp $    */
+/*     $NetBSD: int_limits.h,v 1.9 2014/08/13 22:31:07 matt Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _MIPS_INT_LIMITS_H_
 #define _MIPS_INT_LIMITS_H_
 
+#ifdef __SIG_ATOMIC_MAX__
+#include <sys/common_int_limits.h>
+#else
 /*
  * 7.18.2 Limits of specified-width integer types
  */
@@ -181,4 +184,6 @@
 #define        SIZE_MAX        0xffffffffU                     /* size_t         */
 #endif
 
+#endif /* !__SIG_ATOMIC_MAX__ */
+
 #endif /* !_MIPS_INT_LIMITS_H_ */
diff -r d72a369c5dc9 -r 46f84852fef1 sys/arch/powerpc/include/int_limits.h
--- a/sys/arch/powerpc/include/int_limits.h     Wed Aug 13 22:25:39 2014 +0000
+++ b/sys/arch/powerpc/include/int_limits.h     Wed Aug 13 22:31:06 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_limits.h,v 1.8 2008/04/28 20:23:32 martin Exp $    */
+/*     $NetBSD: int_limits.h,v 1.9 2014/08/13 22:31:07 matt Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _POWERPC_INT_LIMITS_H_
 #define _POWERPC_INT_LIMITS_H_
 
+#ifdef __SIG_ATOMIC_MAX__
+#include <sys/common_int_limits.h>
+#else
 /*
  * 7.18.2 Limits of specified-width integer types
  */
@@ -181,4 +184,6 @@
 #define        SIZE_MAX        0xffffffffU                     /* size_t         */
 #endif
 
+#endif /* !__SIG_ATOMIC_MAX__ */
+
 #endif /* !_POWERPC_INT_LIMITS_H_ */
diff -r d72a369c5dc9 -r 46f84852fef1 sys/arch/sh3/include/int_limits.h
--- a/sys/arch/sh3/include/int_limits.h Wed Aug 13 22:25:39 2014 +0000
+++ b/sys/arch/sh3/include/int_limits.h Wed Aug 13 22:31:06 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_limits.h,v 1.8 2008/04/28 20:23:35 martin Exp $    */
+/*     $NetBSD: int_limits.h,v 1.9 2014/08/13 22:31:07 matt Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _SH3_INT_LIMITS_H_
 #define        _SH3_INT_LIMITS_H_
 
+#ifdef __SIG_ATOMIC_MAX__
+#include <sys/common_int_limits.h>
+#else
 /*
  * 7.18.2 Limits of specified-width integer types
  */
@@ -124,4 +127,6 @@
 /* limit of size_t */
 #define        SIZE_MAX        0xffffffffU                     /* size_t         */
 
+#endif /* !__SIG_ATOMIC_MAX__ */
+
 #endif /* !_SH3_INT_LIMITS_H_ */
diff -r d72a369c5dc9 -r 46f84852fef1 sys/arch/sparc/include/int_limits.h
--- a/sys/arch/sparc/include/int_limits.h       Wed Aug 13 22:25:39 2014 +0000
+++ b/sys/arch/sparc/include/int_limits.h       Wed Aug 13 22:31:06 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_limits.h,v 1.7 2008/04/28 20:23:36 martin Exp $    */
+/*     $NetBSD: int_limits.h,v 1.8 2014/08/13 22:31:07 matt Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _SPARC_INT_LIMITS_H_
 #define _SPARC_INT_LIMITS_H_
 
+#ifdef __SIG_ATOMIC_MAX__
+#include <sys/common_int_limits.h>
+#else
 /*
  * 7.18.2 Limits of specified-width integer types
  */
@@ -181,4 +184,6 @@
 #define        SIZE_MAX        0xffffffffUL                    /* size_t         */
 #endif
 
+#endif /* !__SIG_ATOMIC_MAX__ */
+
 #endif /* !_SPARC_INT_LIMITS_H_ */
diff -r d72a369c5dc9 -r 46f84852fef1 sys/arch/vax/include/int_limits.h
--- a/sys/arch/vax/include/int_limits.h Wed Aug 13 22:25:39 2014 +0000
+++ b/sys/arch/vax/include/int_limits.h Wed Aug 13 22:31:06 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_limits.h,v 1.8 2008/08/29 18:25:01 matt Exp $      */
+/*     $NetBSD: int_limits.h,v 1.9 2014/08/13 22:31:07 matt Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _VAX_INT_LIMITS_H_
 #define _VAX_INT_LIMITS_H_
 
+#ifdef __SIG_ATOMIC_MAX__
+#include <sys/common_int_limits.h>
+#else
 /*
  * 7.18.2 Limits of specified-width integer types
  */
@@ -124,4 +127,6 @@
 /* limit of size_t */
 #define        SIZE_MAX        0xffffffffUL                    /* size_t         */
 
+#endif /* !__SIG_ATOMIC_MAX__ */
+
 #endif /* !_VAX_INT_LIMITS_H_ */



Home | Main Index | Thread Index | Old Index