aboutsummaryrefslogtreecommitdiff
path: root/include/apos/attrs.h
diff options
context:
space:
mode:
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.
*