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_int_fmtio.h> if __INTPTR_FMTd__...
details: https://anonhg.NetBSD.org/src/rev/16f39d2e0e74
branches: trunk
changeset: 331533:16f39d2e0e74
user: matt <matt%NetBSD.org@localhost>
date: Wed Aug 13 19:48:17 2014 +0000
description:
include <sys/common_int_fmtio.h> if __INTPTR_FMTd__ is defined
diffstat:
sys/arch/alpha/include/int_fmtio.h | 7 ++++++-
sys/arch/arm/include/int_fmtio.h | 5 +++--
sys/arch/hppa/include/int_fmtio.h | 7 ++++++-
sys/arch/ia64/include/int_fmtio.h | 7 ++++++-
sys/arch/m68k/include/int_fmtio.h | 7 ++++++-
sys/arch/mips/include/int_fmtio.h | 7 ++++++-
sys/arch/powerpc/include/int_fmtio.h | 7 ++++++-
sys/arch/sh3/include/int_fmtio.h | 7 ++++++-
sys/arch/sparc/include/int_fmtio.h | 7 ++++++-
sys/arch/vax/include/int_fmtio.h | 7 ++++++-
10 files changed, 57 insertions(+), 11 deletions(-)
diffs (252 lines):
diff -r a59ccaf86471 -r 16f39d2e0e74 sys/arch/alpha/include/int_fmtio.h
--- a/sys/arch/alpha/include/int_fmtio.h Wed Aug 13 19:43:47 2014 +0000
+++ b/sys/arch/alpha/include/int_fmtio.h Wed Aug 13 19:48:17 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_fmtio.h,v 1.4 2008/04/28 20:23:11 martin Exp $ */
+/* $NetBSD: int_fmtio.h,v 1.5 2014/08/13 19:48:17 matt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
#ifndef _ALPHA_INT_FMTIO_H_
#define _ALPHA_INT_FMTIO_H_
+#ifdef __INTPTR_FMTd__
+#include <sys/common_int_fmtio.h>
+#else
/*
* 7.8.1 Macros for format specifiers
*/
@@ -209,4 +212,6 @@
#define SCNxMAX "lx" /* uintmax_t */
#define SCNxPTR "lx" /* uintptr_t */
+#endif /* !__INTPTR_FMTd__ */
+
#endif /* !_ALPHA_INT_FMTIO_H_ */
diff -r a59ccaf86471 -r 16f39d2e0e74 sys/arch/arm/include/int_fmtio.h
--- a/sys/arch/arm/include/int_fmtio.h Wed Aug 13 19:43:47 2014 +0000
+++ b/sys/arch/arm/include/int_fmtio.h Wed Aug 13 19:48:17 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_fmtio.h,v 1.8 2014/07/25 21:43:13 joerg Exp $ */
+/* $NetBSD: int_fmtio.h,v 1.9 2014/08/13 19:48:17 matt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -210,6 +210,7 @@
#define SCNxFAST64 "llx" /* uint_fast64_t */
#define SCNxMAX "llx" /* uintmax_t */
#define SCNxPTR "lx" /* uintptr_t */
-#endif
+
+#endif /* !__INTPTR_FMTd__ */
#endif /* !_ARM_INT_FMTIO_H_ */
diff -r a59ccaf86471 -r 16f39d2e0e74 sys/arch/hppa/include/int_fmtio.h
--- a/sys/arch/hppa/include/int_fmtio.h Wed Aug 13 19:43:47 2014 +0000
+++ b/sys/arch/hppa/include/int_fmtio.h Wed Aug 13 19:48:17 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_fmtio.h,v 1.2 2008/04/28 20:23:23 martin Exp $ */
+/* $NetBSD: int_fmtio.h,v 1.3 2014/08/13 19:48:17 matt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
#ifndef _HPPA_INT_FMTIO_H_
#define _HPPA_INT_FMTIO_H_
+#ifdef __INTPTR_FMTd__
+#include <sys/common_int_fmtio.h>
+#else
/*
* 7.8.1 Macros for format specifiers
*/
@@ -209,4 +212,6 @@
#define SCNxMAX "llx" /* uintmax_t */
#define SCNxPTR "lx" /* uintptr_t */
+#endif /* !__INTPTR_FMTd__ */
+
#endif /* !_HPPA_INT_FMTIO_H_ */
diff -r a59ccaf86471 -r 16f39d2e0e74 sys/arch/ia64/include/int_fmtio.h
--- a/sys/arch/ia64/include/int_fmtio.h Wed Aug 13 19:43:47 2014 +0000
+++ b/sys/arch/ia64/include/int_fmtio.h Wed Aug 13 19:48:17 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_fmtio.h,v 1.2 2008/04/28 20:23:25 martin Exp $ */
+/* $NetBSD: int_fmtio.h,v 1.3 2014/08/13 19:48:17 matt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
#ifndef _IA64_INT_FMTIO_H_
#define _IA64_INT_FMTIO_H_
+#ifdef __INTPTR_FMTd__
+#include <sys/common_int_fmtio.h>
+#else
/*
* 7.8.1 Macros for format specifiers
*/
@@ -209,4 +212,6 @@
#define SCNxMAX "lx" /* uintmax_t */
#define SCNxPTR "lx" /* uintptr_t */
+#endif /* !__INTPTR_FMTd__ */
+
#endif /* !_IA64_INT_FMTIO_H_ */
diff -r a59ccaf86471 -r 16f39d2e0e74 sys/arch/m68k/include/int_fmtio.h
--- a/sys/arch/m68k/include/int_fmtio.h Wed Aug 13 19:43:47 2014 +0000
+++ b/sys/arch/m68k/include/int_fmtio.h Wed Aug 13 19:48:17 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_fmtio.h,v 1.3 2008/04/28 20:23:26 martin Exp $ */
+/* $NetBSD: int_fmtio.h,v 1.4 2014/08/13 19:48:17 matt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
#ifndef _M68K_INT_FMTIO_H_
#define _M68K_INT_FMTIO_H_
+#ifdef __INTPTR_FMTd__
+#include <sys/common_int_fmtio.h>
+#else
/*
* 7.8.1 Macros for format specifiers
*/
@@ -209,4 +212,6 @@
#define SCNxMAX "llx" /* uintmax_t */
#define SCNxPTR "x" /* uintptr_t */
+#endif /* !__INTPTR_FMTd__ */
+
#endif /* !_M68K_INT_FMTIO_H_ */
diff -r a59ccaf86471 -r 16f39d2e0e74 sys/arch/mips/include/int_fmtio.h
--- a/sys/arch/mips/include/int_fmtio.h Wed Aug 13 19:43:47 2014 +0000
+++ b/sys/arch/mips/include/int_fmtio.h Wed Aug 13 19:48:17 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_fmtio.h,v 1.5 2009/12/14 00:46:04 matt Exp $ */
+/* $NetBSD: int_fmtio.h,v 1.6 2014/08/13 19:48:17 matt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
#ifndef _MIPS_INT_FMTIO_H_
#define _MIPS_INT_FMTIO_H_
+#ifdef __INTPTR_FMTd__
+#include <sys/common_int_fmtio.h>
+#else
/*
* 7.8.1 Macros for format specifiers
*/
@@ -399,4 +402,6 @@
#define SCNxPTR "x" /* uintptr_t */
#endif
+#endif /* !__INTPTR_FMTd__ */
+
#endif /* !_MIPS_INT_FMTIO_H_ */
diff -r a59ccaf86471 -r 16f39d2e0e74 sys/arch/powerpc/include/int_fmtio.h
--- a/sys/arch/powerpc/include/int_fmtio.h Wed Aug 13 19:43:47 2014 +0000
+++ b/sys/arch/powerpc/include/int_fmtio.h Wed Aug 13 19:48:17 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_fmtio.h,v 1.4 2008/04/28 20:23:32 martin Exp $ */
+/* $NetBSD: int_fmtio.h,v 1.5 2014/08/13 19:48:17 matt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
#ifndef _POWERPC_INT_FMTIO_H_
#define _POWERPC_INT_FMTIO_H_
+#ifdef __INTPTR_FMTd__
+#include <sys/common_int_fmtio.h>
+#else
/*
* 7.8.1 Macros for format specifiers
*/
@@ -366,4 +369,6 @@
#define SCNxPTR "x" /* uintptr_t */
#endif
+#endif /* !__INTPTR_FMTd__ */
+
#endif /* !_POWERPC_INT_FMTIO_H_ */
diff -r a59ccaf86471 -r 16f39d2e0e74 sys/arch/sh3/include/int_fmtio.h
--- a/sys/arch/sh3/include/int_fmtio.h Wed Aug 13 19:43:47 2014 +0000
+++ b/sys/arch/sh3/include/int_fmtio.h Wed Aug 13 19:48:17 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_fmtio.h,v 1.4 2008/04/28 20:23:35 martin Exp $ */
+/* $NetBSD: int_fmtio.h,v 1.5 2014/08/13 19:48:17 matt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
#ifndef _SH3_INT_FMTIO_H_
#define _SH3_INT_FMTIO_H_
+#ifdef __INTPTR_FMTd__
+#include <sys/common_int_fmtio.h>
+#else
/*
* 7.8.1 Macros for format specifiers
*/
@@ -209,4 +212,6 @@
#define SCNxMAX "llx" /* uintmax_t */
#define SCNxPTR "x" /* uintptr_t */
+#endif /* !__INTPTR_FMTd__ */
+
#endif /* !_SH3_INT_FMTIO_H_ */
diff -r a59ccaf86471 -r 16f39d2e0e74 sys/arch/sparc/include/int_fmtio.h
--- a/sys/arch/sparc/include/int_fmtio.h Wed Aug 13 19:43:47 2014 +0000
+++ b/sys/arch/sparc/include/int_fmtio.h Wed Aug 13 19:48:17 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_fmtio.h,v 1.4 2008/04/28 20:23:36 martin Exp $ */
+/* $NetBSD: int_fmtio.h,v 1.5 2014/08/13 19:48:17 matt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
#ifndef _SPARC_INT_FMTIO_H_
#define _SPARC_INT_FMTIO_H_
+#ifdef __INTPTR_FMTd__
+#include <sys/common_int_fmtio.h>
+#else
/*
* 7.8.1 Macros for format specifiers
*/
@@ -406,4 +409,6 @@
#endif
#define SCNxPTR "lx" /* uintptr_t */
+#endif /* !__INTPTR_FMTd__ */
+
#endif /* !_SPARC_INT_FMTIO_H_ */
diff -r a59ccaf86471 -r 16f39d2e0e74 sys/arch/vax/include/int_fmtio.h
--- a/sys/arch/vax/include/int_fmtio.h Wed Aug 13 19:43:47 2014 +0000
+++ b/sys/arch/vax/include/int_fmtio.h Wed Aug 13 19:48:17 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_fmtio.h,v 1.4 2008/08/29 18:25:01 matt Exp $ */
+/* $NetBSD: int_fmtio.h,v 1.5 2014/08/13 19:48:17 matt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
#ifndef _VAX_INT_FMTIO_H_
#define _VAX_INT_FMTIO_H_
+#ifdef __INTPTR_FMTd__
+#include <sys/common_int_fmtio.h>
+#else
/*
* 7.8.1 Macros for format specifiers
*/
@@ -209,4 +212,6 @@
#define SCNxMAX "llx" /* uintmax_t */
#define SCNxPTR "lx" /* uintptr_t */
+#endif /* !__INTPTR_FMTd__ */
+
#endif /* !_VAX_INT_FMTIO_H_ */
Home |
Main Index |
Thread Index |
Old Index