You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/11/10 08:06:33 UTC

[incubator-nuttx] branch master updated: sim inttypes.h: Remove PRI/SCN macros for fast and least types

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new c79bda6  sim inttypes.h: Remove PRI/SCN macros for fast and least types
c79bda6 is described below

commit c79bda6e4f305c153a117e7ad454ec4e69610d69
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Tue Nov 10 14:29:24 2020 +0900

    sim inttypes.h: Remove PRI/SCN macros for fast and least types
    
    I forgot to remove some of them
    in https://github.com/apache/incubator-nuttx/pull/2227 .
    This commit removes them.
---
 arch/sim/include/inttypes.h | 40 ----------------------------------------
 1 file changed, 40 deletions(-)

diff --git a/arch/sim/include/inttypes.h b/arch/sim/include/inttypes.h
index 4404aae..e0d716a 100644
--- a/arch/sim/include/inttypes.h
+++ b/arch/sim/include/inttypes.h
@@ -88,16 +88,6 @@
 #  define SCNi32      "i"
 #  define SCNi64      "lli"
 
-#  define SCNiLEAST8  "hhi"
-#  define SCNiLEAST16 "hi"
-#  define SCNiLEAST32 "i"
-#  define SCNiLEAST64 "lli"
-
-#  define SCNiFAST8   "hhi"
-#  define SCNiFAST16  "hi"
-#  define SCNiFAST32  "i"
-#  define SCNiFAST64  "lli"
-
 #  define SCNiMAX     "lli"
 
 #  define SCNo8       "hho"
@@ -105,16 +95,6 @@
 #  define SCNo32      "o"
 #  define SCNo64      "llo"
 
-#  define SCNoLEAST8  "hho"
-#  define SCNoLEAST16 "ho"
-#  define SCNoLEAST32 "o"
-#  define SCNoLEAST64 "llo"
-
-#  define SCNoFAST8   "hho"
-#  define SCNoFAST16  "ho"
-#  define SCNoFAST32  "o"
-#  define SCNoFAST64  "llo"
-
 #  define SCNoMAX     "llo"
 
 #  define SCNu8       "hhu"
@@ -122,31 +102,11 @@
 #  define SCNu32      "u"
 #  define SCNu64      "llu"
 
-#  define SCNuLEAST8  "hhu"
-#  define SCNuLEAST16 "hu"
-#  define SCNuLEAST32 "u"
-#  define SCNuLEAST64 "llu"
-
-#  define SCNuFAST8   "hhu"
-#  define SCNuFAST16  "hu"
-#  define SCNuFAST32  "u"
-#  define SCNuFAST64  "llu"
-
 #  define SCNx8       "hhx"
 #  define SCNx16      "hx"
 #  define SCNx32      "x"
 #  define SCNx64      "llx"
 
-#  define SCNxLEAST8  "hhx"
-#  define SCNxLEAST16 "hx"
-#  define SCNxLEAST32 "x"
-#  define SCNxLEAST64 "llx"
-
-#  define SCNxFAST8   "hhx"
-#  define SCNxFAST16  "hx"
-#  define SCNxFAST32  "x"
-#  define SCNxFAST64  "llx"
-
 #  define INT8_C(x)   x
 #  define INT16_C(x)  x
 #  define INT32_C(x)  x