From: Ben Pfaff Date: Thu, 16 Sep 2004 00:53:27 +0000 (+0000) Subject: Reorder. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4c473954f2a84d0b5773c97be52a27a79f19dd0;p=pintos-anon Reorder. #include --- diff --git a/src/lib/inttypes.h b/src/lib/inttypes.h index 08ee8fe..f703725 100644 --- a/src/lib/inttypes.h +++ b/src/lib/inttypes.h @@ -1,48 +1,48 @@ #ifndef __LIB_INTTYPES_H #define __LIB_INTTYPES_H -#define PRId8 "hhd" -#define PRId16 "hd" -#define PRId32 "d" -#define PRId64 "lld" +#include +#define PRId8 "hhd" #define PRIi8 "hhi" -#define PRIi16 "hi" -#define PRIi32 "i" -#define PRIi64 "lli" - #define PRIo8 "hho" -#define PRIo16 "ho" -#define PRIo32 "o" -#define PRIo64 "llo" - #define PRIu8 "hhu" -#define PRIu16 "hu" -#define PRIu32 "u" -#define PRIu64 "llu" - #define PRIx8 "hhx" -#define PRIx16 "hx" -#define PRIx32 "x" -#define PRIx64 "llx" - #define PRIX8 "hhX" + +#define PRId16 "hd" +#define PRIi16 "hi" +#define PRIo16 "ho" +#define PRIu16 "hu" +#define PRIx16 "hx" #define PRIX16 "hX" + +#define PRId32 "d" +#define PRIi32 "i" +#define PRIo32 "o" +#define PRIu32 "u" +#define PRIx32 "x" #define PRIX32 "X" + +#define PRId64 "lld" +#define PRIi64 "lli" +#define PRIo64 "llo" +#define PRIu64 "llu" +#define PRIx64 "llx" #define PRIX64 "llX" -#define PRIdMAX "lld" -#define PRIiMAX "lli" -#define PRIoMAX "llo" -#define PRIuMAX "llu" -#define PRIxMAX "llx" -#define PRIXMAX "llX" - -#define PRIdPTR "d" -#define PRIiPTR "i" -#define PRIoPTR "o" -#define PRIuPTR "u" -#define PRIxPTR "x" -#define PRIXPTR "X" +#define PRIdMAX "jd" +#define PRIiMAX "ji" +#define PRIoMAX "jo" +#define PRIuMAX "ju" +#define PRIxMAX "jx" +#define PRIXMAX "jX" + +#define PRIdPTR "td" +#define PRIiPTR "ti" +#define PRIoPTR "to" +#define PRIuPTR "tu" +#define PRIxPTR "tx" +#define PRIXPTR "tX" #endif /* lib/inttypes.h */