summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/include/compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/include/compiler.h b/payloads/libpayload/include/compiler.h
index f218725086..a830239009 100644
--- a/payloads/libpayload/include/compiler.h
+++ b/payloads/libpayload/include/compiler.h
@@ -24,5 +24,6 @@
#define __aligned(x) __attribute__((aligned(x)))
#define __always_unused __attribute__((unused))
+#define __must_check __attribute__((warn_unused_result))
#endif