aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lombard <clombard@linux.ibm.com>2023-06-20 16:52:01 +0200
committerReza Arbab <arbab@linux.ibm.com>2023-09-12 14:22:11 -0500
commitff47ae78f20babbc023b1378cb895f4bd2d8aed5 (patch)
tree6c065ca9f3cf33f9577b94cfbe1dc72f354ee0e3
parent3a9c94d1e9a140f5ca8fff04a4cd27a076b851ed (diff)
downloadskiboot-ff47ae78f20babbc023b1378cb895f4bd2d8aed5.zip
skiboot-ff47ae78f20babbc023b1378cb895f4bd2d8aed5.tar.gz
skiboot-ff47ae78f20babbc023b1378cb895f4bd2d8aed5.tar.bz2
include: Expand print conversion specificier macros
Add PRIxu macros into include inttypes file. These macros are required by the external library: libmctp. Signed-off-by: Christophe Lombard <clombard@linux.ibm.com> Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
-rw-r--r--include/inttypes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/inttypes.h b/include/inttypes.h
index 984c1f6..324385a 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