From 093662bc99c4a4b686ebf6c9877f8531100165e9 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 6 Nov 2020 08:29:54 +0900 Subject: [PATCH] z8 inttypes.h: Remove PRI/SCN macros for fast and least types --- arch/z80/include/z8/inttypes.h | 88 ---------------------------------- 1 file changed, 88 deletions(-) diff --git a/arch/z80/include/z8/inttypes.h b/arch/z80/include/z8/inttypes.h index 9738e1a4f9..2b157bd707 100644 --- a/arch/z80/include/z8/inttypes.h +++ b/arch/z80/include/z8/inttypes.h @@ -48,154 +48,66 @@ #define PRId16 "d" #define PRId32 "ld" -#define PRIdLEAST8 "d" -#define PRIdLEAST16 "d" -#define PRIdLEAST32 "ld" - -#define PRIdFAST8 "d" -#define PRIdFAST16 "d" -#define PRIdFAST32 "ld" - #define PRIdPTR "d" #define PRIi8 "i" #define PRIi16 "i" #define PRIi32 "li" -#define PRIiLEAST8 "i" -#define PRIiLEAST16 "i" -#define PRIiLEAST32 "li" - -#define PRIiFAST8 "i" -#define PRIiFAST16 "i" -#define PRIiFAST32 "li" - #define PRIiPTR "i" #define PRIo8 "o" #define PRIo16 "o" #define PRIo32 "lo" -#define PRIoLEAST8 "o" -#define PRIoLEAST16 "o" -#define PRIoLEAST32 "lo" - -#define PRIoFAST8 "o" -#define PRIoFAST16 "o" -#define PRIoFAST32 "lo" - #define PRIoPTR "o" #define PRIu8 "u" #define PRIu16 "u" #define PRIu32 "lu" -#define PRIuLEAST8 "u" -#define PRIuLEAST16 "u" -#define PRIuLEAST32 "lu" - -#define PRIuFAST8 "u" -#define PRIuFAST16 "u" -#define PRIuFAST32 "lu" - #define PRIuPTR "u" #define PRIx8 "x" #define PRIx16 "x" #define PRIx32 "lx" -#define PRIxLEAST8 "x" -#define PRIxLEAST16 "x" -#define PRIxLEAST32 "lx" - -#define PRIxFAST8 "x" -#define PRIxFAST16 "x" -#define PRIxFAST32 "lx" - #define PRIxPTR "x" #define PRIX8 "X" #define PRIX16 "X" #define PRIX32 "lX" -#define PRIXLEAST8 "X" -#define PRIXLEAST16 "X" -#define PRIXLEAST32 "lX" - -#define PRIXFAST8 "X" -#define PRIXFAST16 "X" -#define PRIXFAST32 "lX" - #define PRIXPTR "X" #define SCNd8 "hhd" #define SCNd16 "d" #define SCNd32 "ld" -#define SCNdLEAST8 "hhd" -#define SCNdLEAST16 "d" -#define SCNdLEAST32 "ld" - -#define SCNdFAST8 "hhd" -#define SCNdFAST16 "d" -#define SCNdFAST32 "ld" - #define SCNdPTR "d" #define SCNi8 "hhi" #define SCNi16 "i" #define SCNi32 "li" -#define SCNiLEAST8 "hhi" -#define SCNiLEAST16 "i" -#define SCNiLEAST32 "li" - -#define SCNiFAST8 "hhi" -#define SCNiFAST16 "i" -#define SCNiFAST32 "li" - #define SCNiPTR "i" #define SCNo8 "hho" #define SCNo16 "o" #define SCNo32 "lo" -#define SCNoLEAST8 "hho" -#define SCNoLEAST16 "o" -#define SCNoLEAST32 "lo" - -#define SCNoFAST8 "hho" -#define SCNoFAST16 "o" -#define SCNoFAST32 "lo" - #define SCNoPTR "o" #define SCNu8 "hhu" #define SCNu16 "u" #define SCNu32 "lu" -#define SCNuLEAST8 "hhu" -#define SCNuLEAST16 "u" -#define SCNuLEAST32 "lu" - -#define SCNuFAST8 "hhu" -#define SCNuFAST16 "u" -#define SCNuFAST32 "lu" - #define SCNuPTR "u" #define SCNx8 "hhx" #define SCNx16 "x" #define SCNx32 "lx" -#define SCNxLEAST8 "hhx" -#define SCNxLEAST16 "x" -#define SCNxLEAST32 "lx" - -#define SCNxFAST8 "hhx" -#define SCNxFAST16 "x" -#define SCNxFAST32 "lx" - #define SCNxPTR "x" #define INT8_C(x) x