Module Name: src Committed By: matt Date: Wed Aug 13 22:51:59 UTC 2014
Modified Files: src/sys/arch/alpha/include: int_const.h src/sys/arch/ia64/include: int_const.h src/sys/arch/m68k/include: int_const.h src/sys/arch/mips/include: int_const.h src/sys/arch/powerpc/include: int_const.h src/sys/arch/sh3/include: int_const.h src/sys/arch/sparc/include: int_const.h src/sys/arch/vax/include: int_const.h Log Message: Include <sys/common_int_const.h> if __INTMAX_C_SUFFIX__ is defined. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/alpha/include/int_const.h cvs rdiff -u -r1.3 -r1.4 src/sys/arch/ia64/include/int_const.h cvs rdiff -u -r1.3 -r1.4 src/sys/arch/m68k/include/int_const.h cvs rdiff -u -r1.4 -r1.5 src/sys/arch/mips/include/int_const.h cvs rdiff -u -r1.4 -r1.5 src/sys/arch/powerpc/include/int_const.h cvs rdiff -u -r1.4 -r1.5 src/sys/arch/sh3/include/int_const.h cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sparc/include/int_const.h cvs rdiff -u -r1.3 -r1.4 src/sys/arch/vax/include/int_const.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/alpha/include/int_const.h diff -u src/sys/arch/alpha/include/int_const.h:1.3 src/sys/arch/alpha/include/int_const.h:1.4 --- src/sys/arch/alpha/include/int_const.h:1.3 Sat May 29 17:33:57 2010 +++ src/sys/arch/alpha/include/int_const.h Wed Aug 13 22:51:58 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: int_const.h,v 1.3 2010/05/29 17:33:57 tnozaki Exp $ */ +/* $NetBSD: int_const.h,v 1.4 2014/08/13 22:51:58 matt Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -32,6 +32,9 @@ #ifndef _ALPHA_INT_CONST_H_ #define _ALPHA_INT_CONST_H_ +#ifdef __INTMAX_C_SUFFIX__ +#include <sys/common_int_const.h> +#else /* * 7.18.4 Macros for integer constants */ @@ -53,4 +56,6 @@ #define INTMAX_C(c) c ## L #define UINTMAX_C(c) c ## UL +#endif /* !__INTMAX_C_SUFFIX__ */ + #endif /* !_ALPHA_INT_CONST_H_ */ Index: src/sys/arch/ia64/include/int_const.h diff -u src/sys/arch/ia64/include/int_const.h:1.3 src/sys/arch/ia64/include/int_const.h:1.4 --- src/sys/arch/ia64/include/int_const.h:1.3 Sat May 29 17:33:57 2010 +++ src/sys/arch/ia64/include/int_const.h Wed Aug 13 22:51:58 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: int_const.h,v 1.3 2010/05/29 17:33:57 tnozaki Exp $ */ +/* $NetBSD: int_const.h,v 1.4 2014/08/13 22:51:58 matt Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -32,6 +32,9 @@ #ifndef _IA64_INT_CONST_H_ #define _IA64_INT_CONST_H_ +#ifdef __INTMAX_C_SUFFIX__ +#include <sys/common_int_const.h> +#else /* XXX: cherry: needs to be audited */ /* * 7.18.4 Macros for integer constants @@ -54,4 +57,6 @@ #define INTMAX_C(c) c ## L #define UINTMAX_C(c) c ## UL +#endif /* !__INTMAX_C_SUFFIX__ */ + #endif /* !_IA64_INT_CONST_H_ */ Index: src/sys/arch/m68k/include/int_const.h diff -u src/sys/arch/m68k/include/int_const.h:1.3 src/sys/arch/m68k/include/int_const.h:1.4 --- src/sys/arch/m68k/include/int_const.h:1.3 Sat May 29 17:33:57 2010 +++ src/sys/arch/m68k/include/int_const.h Wed Aug 13 22:51:58 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: int_const.h,v 1.3 2010/05/29 17:33:57 tnozaki Exp $ */ +/* $NetBSD: int_const.h,v 1.4 2014/08/13 22:51:58 matt Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -32,6 +32,9 @@ #ifndef _M68K_INT_CONST_H_ #define _M68K_INT_CONST_H_ +#ifdef __INTMAX_C_SUFFIX__ +#include <sys/common_int_const.h> +#else /* * 7.18.4 Macros for integer constants */ @@ -53,4 +56,6 @@ #define INTMAX_C(c) c ## LL #define UINTMAX_C(c) c ## ULL +#endif /* !__INTMAX_C_SUFFIX__ */ + #endif /* !_M68K_INT_CONST_H_ */ Index: src/sys/arch/mips/include/int_const.h diff -u src/sys/arch/mips/include/int_const.h:1.4 src/sys/arch/mips/include/int_const.h:1.5 --- src/sys/arch/mips/include/int_const.h:1.4 Sat May 29 17:33:57 2010 +++ src/sys/arch/mips/include/int_const.h Wed Aug 13 22:51:58 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: int_const.h,v 1.4 2010/05/29 17:33:57 tnozaki Exp $ */ +/* $NetBSD: int_const.h,v 1.5 2014/08/13 22:51:58 matt Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -32,6 +32,9 @@ #ifndef _MIPS_INT_CONST_H_ #define _MIPS_INT_CONST_H_ +#ifdef __INTMAX_C_SUFFIX__ +#include <sys/common_int_const.h> +#else /* * 7.18.4 Macros for integer constants */ @@ -66,4 +69,6 @@ #define UINTMAX_C(c) c ## ULL #endif +#endif /* !__INTMAX_C_SUFFIX__ */ + #endif /* !_MIPS_INT_CONST_H_ */ Index: src/sys/arch/powerpc/include/int_const.h diff -u src/sys/arch/powerpc/include/int_const.h:1.4 src/sys/arch/powerpc/include/int_const.h:1.5 --- src/sys/arch/powerpc/include/int_const.h:1.4 Sat May 29 17:33:58 2010 +++ src/sys/arch/powerpc/include/int_const.h Wed Aug 13 22:51:59 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: int_const.h,v 1.4 2010/05/29 17:33:58 tnozaki Exp $ */ +/* $NetBSD: int_const.h,v 1.5 2014/08/13 22:51:59 matt Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -32,6 +32,9 @@ #ifndef _POWERPC_INT_CONST_H_ #define _POWERPC_INT_CONST_H_ +#ifdef __INTMAX_C_SUFFIX__ +#include <sys/common_int_const.h> +#else /* * 7.18.4 Macros for integer constants */ @@ -66,4 +69,6 @@ #define UINTMAX_C(c) c ## ULL #endif +#endif /* !__INTMAX_C_SUFFIX__ */ + #endif /* !_POWERPC_INT_CONST_H_ */ Index: src/sys/arch/sh3/include/int_const.h diff -u src/sys/arch/sh3/include/int_const.h:1.4 src/sys/arch/sh3/include/int_const.h:1.5 --- src/sys/arch/sh3/include/int_const.h:1.4 Sat May 29 17:33:58 2010 +++ src/sys/arch/sh3/include/int_const.h Wed Aug 13 22:51:59 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: int_const.h,v 1.4 2010/05/29 17:33:58 tnozaki Exp $ */ +/* $NetBSD: int_const.h,v 1.5 2014/08/13 22:51:59 matt Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -32,6 +32,9 @@ #ifndef _SH3_INT_CONST_H_ #define _SH3_INT_CONST_H_ +#ifdef __INTMAX_C_SUFFIX__ +#include <sys/common_int_const.h> +#else /* * 7.18.4 Macros for integer constants */ @@ -53,4 +56,6 @@ #define INTMAX_C(c) c ## LL #define UINTMAX_C(c) c ## ULL +#endif /* !__INTMAX_C_SUFFIX__ */ + #endif /* !_SH3_INT_CONST_H_ */ Index: src/sys/arch/sparc/include/int_const.h diff -u src/sys/arch/sparc/include/int_const.h:1.3 src/sys/arch/sparc/include/int_const.h:1.4 --- src/sys/arch/sparc/include/int_const.h:1.3 Sat May 29 17:33:58 2010 +++ src/sys/arch/sparc/include/int_const.h Wed Aug 13 22:51:59 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: int_const.h,v 1.3 2010/05/29 17:33:58 tnozaki Exp $ */ +/* $NetBSD: int_const.h,v 1.4 2014/08/13 22:51:59 matt Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -32,6 +32,9 @@ #ifndef _SPARC_INT_CONST_H_ #define _SPARC_INT_CONST_H_ +#ifdef __INTMAX_C_SUFFIX__ +#include <sys/common_int_const.h> +#else /* * 7.18.4 Macros for integer constants */ @@ -66,4 +69,6 @@ #define UINTMAX_C(c) c ## ULL #endif +#endif /* !__INTMAX_C_SUFFIX__ */ + #endif /* !_SPARC_INT_CONST_H_ */ Index: src/sys/arch/vax/include/int_const.h diff -u src/sys/arch/vax/include/int_const.h:1.3 src/sys/arch/vax/include/int_const.h:1.4 --- src/sys/arch/vax/include/int_const.h:1.3 Sat May 29 17:45:15 2010 +++ src/sys/arch/vax/include/int_const.h Wed Aug 13 22:51:59 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: int_const.h,v 1.3 2010/05/29 17:45:15 tnozaki Exp $ */ +/* $NetBSD: int_const.h,v 1.4 2014/08/13 22:51:59 matt Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -32,6 +32,9 @@ #ifndef _VAX_INT_CONST_H_ #define _VAX_INT_CONST_H_ +#ifdef __INTMAX_C_SUFFIX__ +#include <sys/common_int_const.h> +#else /* * 7.18.4 Macros for integer constants */ @@ -53,4 +56,6 @@ #define INTMAX_C(c) c ## LL #define UINTMAX_C(c) c ## ULL +#endif /* !__INTMAX_C_SUFFIX__ */ + #endif /* !_VAX_INT_CONST_H_ */