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>
This commit is contained in:
parent
764167b8ca
commit
3813ca521a
15 changed files with 35 additions and 36 deletions
|
|
@ -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'. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue