From 62ee0f7e1936a9eccb55fa360a1dce223819e0b8 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 11 Jun 2022 23:35:33 +0300 Subject: continue documentation --- include/apos/attrs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/apos/attrs.h') diff --git a/include/apos/attrs.h b/include/apos/attrs.h index 76ef39f..0cb167c 100644 --- a/include/apos/attrs.h +++ b/include/apos/attrs.h @@ -33,6 +33,10 @@ */ #define __fmt(x, y) __attribute__((format(__printf__, x, y))) + +/** Printf formatting attribute to not confuse doxygen. */ +#define __printf __fmt(1, 2) + /** * Align object. * -- cgit v1.3