diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-11-29 18:53:47 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-06 16:32:36 +0000 |
commit | a3204f7278565be10de4c1529a4d3c00649d28ed (patch) | |
tree | 6be8b97f6318b1a88fedd5b6f5700a28c8c69947 /src | |
parent | 33e9e44a177e9121d51e51363b30509b75141bcc (diff) |
google/veyron: Fix old style function definition
Function definitions without a type a deprecated in all versions of C.
Change-Id: I2efb42e653b0deb56ba6b0c9789764a9cabc552e
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70138
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/veyron/bootblock.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/veyron_mickey/bootblock.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/veyron_rialto/bootblock.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/veyron/bootblock.c b/src/mainboard/google/veyron/bootblock.c index 0d11462a88..6b0cc81965 100644 --- a/src/mainboard/google/veyron/bootblock.c +++ b/src/mainboard/google/veyron/bootblock.c @@ -14,7 +14,7 @@ #include "board.h" -void bootblock_mainboard_early_init() +void bootblock_mainboard_early_init(void) { if (CONFIG(CONSOLE_SERIAL)) { assert(CONFIG_CONSOLE_SERIAL_UART_ADDRESS == UART2_BASE); diff --git a/src/mainboard/google/veyron_mickey/bootblock.c b/src/mainboard/google/veyron_mickey/bootblock.c index d9358a3720..261d7e5402 100644 --- a/src/mainboard/google/veyron_mickey/bootblock.c +++ b/src/mainboard/google/veyron_mickey/bootblock.c @@ -14,7 +14,7 @@ #include "board.h" -void bootblock_mainboard_early_init() +void bootblock_mainboard_early_init(void) { if (CONFIG(CONSOLE_SERIAL)) { assert(CONFIG_CONSOLE_SERIAL_UART_ADDRESS == UART2_BASE); diff --git a/src/mainboard/google/veyron_rialto/bootblock.c b/src/mainboard/google/veyron_rialto/bootblock.c index 52303786b0..a0ce1ab1c2 100644 --- a/src/mainboard/google/veyron_rialto/bootblock.c +++ b/src/mainboard/google/veyron_rialto/bootblock.c @@ -14,7 +14,7 @@ #include "board.h" -void bootblock_mainboard_early_init() +void bootblock_mainboard_early_init(void) { if (CONFIG(CONSOLE_SERIAL)) { assert(CONFIG_CONSOLE_SERIAL_UART_ADDRESS == UART2_BASE); |