[Skiboot] [PATCH V2 03/10] include: Expand print conversion specificier macros

Christophe Lombard clombard at linux.vnet.ibm.com
Tue Mar 15 23:49:07 AEDT 2022


Add PRIxu macros into include inttypes file.
These macros are required by the external library: libmctp.

Signed-off-by: Christophe Lombard <clombard at linux.vnet.ibm.com>
---
 include/inttypes.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/inttypes.h b/include/inttypes.h
index 984c1f61..324385a1 100644
--- a/include/inttypes.h
+++ b/include/inttypes.h
@@ -28,4 +28,10 @@
 #define PRIx64 "llx"
 #endif
 
+#define PRIu32 "u"
+#define PRIx32 "x"
+
+#define PRIu16 "hu"
+#define PRIx16 "hx"
+
 #endif
-- 
2.35.1



More information about the Skiboot mailing list