diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-01-14 07:30:21 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-05-26 13:45:24 +0000 |
commit | 3813ca521a6cd7348ce111c3f46cbee66a1b964d (patch) | |
tree | 327922404460cd26388d1f26721670879cb619c9 /src/include/assert.h | |
parent | 764167b8ca91b136b068f1d3f03adf5f50af615a (diff) |
treewide: Remove 'extern' from functions declaration
"extern" is automatically implied with function declaration.
Change-Id: Ic40218acab5a009621b6882faacfcac800aaf0b9
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71890
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
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'. */ |