doc: Add __must_check to PREDEFINED

This helps avoid unnecessary warning from function and function pointer
declarations.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2021-06-17 17:20:13 +03:00 committed by Johan Hedberg
commit 50adc4b903

View file

@ -2301,6 +2301,7 @@ PREDEFINED = __DOXYGEN__ \
"__printf_like(x, y)=" \
__attribute__(x)= \
__syscall= \
"__must_check=" \
DT_DOXYGEN \
"ATOMIC_DEFINE(x, y)=atomic_t x[ATOMIC_BITMAP_SIZE(y)]"