Signed-off-by: Taras Kondratiuk <[email protected]>
---
 include/odp/api/hints.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/odp/api/hints.h b/include/odp/api/hints.h
index a7aa90e..d6bf723 100644
--- a/include/odp/api/hints.h
+++ b/include/odp/api/hints.h
@@ -46,6 +46,11 @@ extern "C" {
 #define ODP_COLD_CODE   __attribute__((__cold__))
 
 /**
+ * Printf format attribute
+ */
+#define ODP_PRINTF_FORMAT(x, y) __attribute__((format(printf, (x), (y))))
+
+/**
  * Branch likely taken
  */
 #define odp_likely(x)   __builtin_expect((x), 1)
-- 
1.9.1


_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to