aboutsummaryrefslogtreecommitdiff
path: root/include/apos/attrs.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-06-11 23:35:33 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-06-11 23:35:33 +0300
commit62ee0f7e1936a9eccb55fa360a1dce223819e0b8 (patch)
tree2c67698cac4e94cd7643f7acf19f1ada12f37472 /include/apos/attrs.h
parent56fb0b774a8e89be1cb7ab1e5f464bbedd19fb22 (diff)
downloadkmi-62ee0f7e1936a9eccb55fa360a1dce223819e0b8.tar.gz
kmi-62ee0f7e1936a9eccb55fa360a1dce223819e0b8.zip
continue documentation
Diffstat (limited to 'include/apos/attrs.h')
-rw-r--r--include/apos/attrs.h4
1 files changed, 4 insertions, 0 deletions
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.
*