Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/include Update a few types and formats.



details:   https://anonhg.NetBSD.org/src/rev/aa79204e7c35
branches:  trunk
changeset: 551192:aa79204e7c35
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sun Aug 31 23:24:04 2003 +0000

description:
Update a few types and formats.

diffstat:

 sys/arch/amd64/include/int_fmtio.h     |   8 ++++----
 sys/arch/amd64/include/int_mwgwtypes.h |  10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (53 lines):

diff -r f14920ace697 -r aa79204e7c35 sys/arch/amd64/include/int_fmtio.h
--- a/sys/arch/amd64/include/int_fmtio.h        Sun Aug 31 22:40:13 2003 +0000
+++ b/sys/arch/amd64/include/int_fmtio.h        Sun Aug 31 23:24:04 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_fmtio.h,v 1.1 2003/04/26 18:39:42 fvdl Exp $       */
+/*     $NetBSD: int_fmtio.h,v 1.2 2003/08/31 23:24:04 fvdl Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -157,7 +157,7 @@
 #define        SCNi8           "hhi"   /* int8_t               */
 #define        SCNi16          "hi"    /* int16_t              */
 #define        SCNi32          "i"     /* int32_t              */
-#define        SCNi64          "lli"   /* int64_t              */
+#define        SCNi64          "li"    /* int64_t              */
 #define        SCNiLEAST8      "hhi"   /* int_least8_t         */
 #define        SCNiLEAST16     "hi"    /* int_least16_t        */
 #define        SCNiLEAST32     "i"     /* int_least32_t        */
@@ -209,8 +209,8 @@
 #define        SCNxLEAST16     "hx"    /* uint_least16_t       */
 #define        SCNxLEAST32     "x"     /* uint_least32_t       */
 #define        SCNxLEAST64     "lx"    /* uint_least64_t       */
-#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        */
 #define        SCNxFAST64      "lx"    /* uint_fast64_t        */
 #define        SCNxMAX         "lx"    /* uintmax_t            */
diff -r f14920ace697 -r aa79204e7c35 sys/arch/amd64/include/int_mwgwtypes.h
--- a/sys/arch/amd64/include/int_mwgwtypes.h    Sun Aug 31 22:40:13 2003 +0000
+++ b/sys/arch/amd64/include/int_mwgwtypes.h    Sun Aug 31 23:24:04 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_mwgwtypes.h,v 1.1 2003/04/26 18:39:42 fvdl Exp $   */
+/*     $NetBSD: int_mwgwtypes.h,v 1.2 2003/08/31 23:24:04 fvdl Exp $   */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -55,10 +55,10 @@
 typedef        unsigned long int       uint_least64_t;
 
 /* 7.18.1.3 Fastest minimum-width integer types */
-typedef        int                        int_fast8_t;
-typedef        unsigned int              uint_fast8_t;
-typedef        int                       int_fast16_t;
-typedef        unsigned int             uint_fast16_t;
+typedef        __signed char              int_fast8_t;
+typedef        unsigned char             uint_fast8_t;
+typedef        short                     int_fast16_t;
+typedef        unsigned short           uint_fast16_t;
 typedef        int                       int_fast32_t;
 typedef        unsigned int             uint_fast32_t;
 typedef        long int                  int_fast64_t;



Home | Main Index | Thread Index | Old Index