[Skiboot] [PATCH V3 3/9] include: Expand print conversion specificier macros
Christophe Lombard
clombard at linux.ibm.com
Fri May 12 02:24:12 AEST 2023
Add PRIxu macros into include inttypes file.
These macros are required by the external library: libmctp.
Signed-off-by: Christophe Lombard <clombard at linux.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.40.1
More information about the Skiboot
mailing list