diff options
Diffstat (limited to 'src/include/assert.h')
-rw-r--r-- | src/include/assert.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/assert.h b/src/include/assert.h index 8729bef9f7..0e09eef392 100644 --- a/src/include/assert.h +++ b/src/include/assert.h @@ -96,7 +96,7 @@ void mock_assert(const int result, const char *const expression, * ramstage/lib/bootmode.o: In function `display_init_required': * bootmode.c:42: undefined reference to `_dead_code_assertion_failed' */ -extern void _dead_code_assertion_failed(void) __attribute__((noreturn)); +void _dead_code_assertion_failed(void) __attribute__((noreturn)); #define dead_code() _dead_code_assertion_failed() /* This can be used in the context of an expression of type 'type'. */ |