summaryrefslogtreecommitdiff
path: root/built_in.h
diff options
context:
space:
mode:
Diffstat (limited to 'built_in.h')
-rw-r--r--built_in.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/built_in.h b/built_in.h
index 8e1ba0d..6ebf27e 100644
--- a/built_in.h
+++ b/built_in.h
@@ -73,7 +73,11 @@ typedef uint8_t u8;
#endif
#ifndef __maybe_unused
-# define __maybe_unused __attribute__ ((__unused__))
+# define __maybe_unused __attribute__((__unused__))
+#endif
+
+#ifndef __warn_unused_result
+# define __warn_unused_result __attribute__((warn_unused_result))
#endif
#ifndef noinline