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:
Elyes Haouas
2023-01-14 07:30:21 +01:00
committed by Felix Held
parent 764167b8ca
commit 3813ca521a
15 changed files with 35 additions and 36 deletions

View File

@@ -9,7 +9,7 @@
* this function needs to be implemented by a specific SoC.
* return number of PMP entries for current hart
*/
extern int pmp_entries_num(void);
int pmp_entries_num(void);
/* reset PMP setting */
void reset_pmp(void);

View File

@@ -7,7 +7,7 @@
/* setup interrupt handlers for mainboard */
#if CONFIG(PCI_OPTION_ROM_RUN_REALMODE)
extern void mainboard_interrupt_handlers(int intXX, int (*intXX_func)(void));
void mainboard_interrupt_handlers(int intXX, int (*intXX_func)(void));
#elif CONFIG(PCI_OPTION_ROM_RUN_YABEL)
#include <device/oprom/yabel/biosemu.h>
#else