diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/cbfstool/compiler.h | 1 | ||||
-rw-r--r-- | util/cbmem/compiler.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/util/cbfstool/compiler.h b/util/cbfstool/compiler.h index f218725086..a830239009 100644 --- a/util/cbfstool/compiler.h +++ b/util/cbfstool/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 diff --git a/util/cbmem/compiler.h b/util/cbmem/compiler.h index f218725086..a830239009 100644 --- a/util/cbmem/compiler.h +++ b/util/cbmem/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 |