Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/include Make this match int_mwgwtypes.h (no...
details: https://anonhg.NetBSD.org/src/rev/146721d0b232
branches: trunk
changeset: 515852:146721d0b232
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sat Oct 06 01:21:40 2001 +0000
description:
Make this match int_mwgwtypes.h (not that that header is really
correct, but they should at least be in-sync -- a PR has been
filed against int_mwgwtypes.h).
diffstat:
sys/arch/sparc64/include/int_fmtio.h | 38 ++++++++++++++++++------------------
1 files changed, 19 insertions(+), 19 deletions(-)
diffs (94 lines):
diff -r 94219203bb60 -r 146721d0b232 sys/arch/sparc64/include/int_fmtio.h
--- a/sys/arch/sparc64/include/int_fmtio.h Sat Oct 06 00:47:46 2001 +0000
+++ b/sys/arch/sparc64/include/int_fmtio.h Sat Oct 06 01:21:40 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_fmtio.h,v 1.2 2001/04/26 16:25:26 kleink Exp $ */
+/* $NetBSD: int_fmtio.h,v 1.3 2001/10/06 01:21:40 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -61,9 +61,9 @@
#else
#define PRIdLEAST64 "lld" /* int_least64_t */
#endif
-#define PRIdFAST8 "d" /* int_fast8_t */
-#define PRIdFAST16 "d" /* int_fast16_t */
-#define PRIdFAST32 "d" /* int_fast32_t */
+#define PRIdFAST8 "ld" /* int_fast8_t */
+#define PRIdFAST16 "ld" /* int_fast16_t */
+#define PRIdFAST32 "ld" /* int_fast32_t */
#ifdef __arch64__
#define PRIdFAST64 "ld" /* int_fast64_t */
#else
@@ -92,9 +92,9 @@
#else
#define PRIiLEAST64 "lli" /* int_least64_t */
#endif
-#define PRIiFAST8 "i" /* int_fast8_t */
-#define PRIiFAST16 "i" /* int_fast16_t */
-#define PRIiFAST32 "i" /* int_fast32_t */
+#define PRIiFAST8 "li" /* int_fast8_t */
+#define PRIiFAST16 "li" /* int_fast16_t */
+#define PRIiFAST32 "li" /* int_fast32_t */
#ifdef __arch64__
#define PRIiFAST64 "li" /* int_fast64_t */
#else
@@ -251,9 +251,9 @@
#else
#define SCNdLEAST64 "lld" /* int_least64_t */
#endif
-#define SCNdFAST8 "d" /* int_fast8_t */
-#define SCNdFAST16 "d" /* int_fast16_t */
-#define SCNdFAST32 "d" /* int_fast32_t */
+#define SCNdFAST8 "ld" /* int_fast8_t */
+#define SCNdFAST16 "ld" /* int_fast16_t */
+#define SCNdFAST32 "ld" /* int_fast32_t */
#ifdef __arch64__
#define SCNdFAST64 "ld" /* int_fast64_t */
#else
@@ -282,9 +282,9 @@
#else
#define SCNiLEAST64 "lli" /* int_least64_t */
#endif
-#define SCNiFAST8 "i" /* int_fast8_t */
-#define SCNiFAST16 "i" /* int_fast16_t */
-#define SCNiFAST32 "i" /* int_fast32_t */
+#define SCNiFAST8 "li" /* int_fast8_t */
+#define SCNiFAST16 "li" /* int_fast16_t */
+#define SCNiFAST32 "li" /* int_fast32_t */
#ifdef __arch64__
#define SCNiFAST64 "li" /* int_fast64_t */
#else
@@ -315,8 +315,8 @@
#else
#define SCNoLEAST64 "llo" /* uint_least64_t */
#endif
-#define SCNoFAST8 "o" /* uint_fast8_t */
-#define SCNoFAST16 "o" /* uint_fast16_t */
+#define SCNoFAST8 "hho" /* uint_fast8_t */
+#define SCNoFAST16 "ho" /* uint_fast16_t */
#define SCNoFAST32 "o" /* uint_fast32_t */
#ifdef __arch64__
#define SCNoFAST64 "lo" /* uint_fast64_t */
@@ -346,8 +346,8 @@
#else
#define SCNuLEAST64 "llu" /* uint_least64_t */
#endif
-#define SCNuFAST8 "u" /* uint_fast8_t */
-#define SCNuFAST16 "u" /* uint_fast16_t */
+#define SCNuFAST8 "hhu" /* uint_fast8_t */
+#define SCNuFAST16 "hu" /* uint_fast16_t */
#define SCNuFAST32 "u" /* uint_fast32_t */
#ifdef __arch64__
#define SCNuFAST64 "lu" /* uint_fast64_t */
@@ -377,8 +377,8 @@
#else
#define SCNxLEAST64 "llx" /* uint_least64_t */
#endif
-#define SCNxFAST8 "x" /* uint_fast8_t */
-#define SCNxFAST16 "x" /* uint_fast16_t */
+#define SCNxFAST8 "hhx" /* uint_fast8_t */
+#define SCNxFAST16 "hx" /* uint_fast16_t */
#define SCNxFAST32 "x" /* uint_fast32_t */
#ifdef __arch64__
#define SCNxFAST64 "lx" /* uint_fast64_t */
Home |
Main Index |
Thread Index |
Old Index