summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-11-29 18:53:47 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-12-06 16:32:36 +0000
commita3204f7278565be10de4c1529a4d3c00649d28ed (patch)
tree6be8b97f6318b1a88fedd5b6f5700a28c8c69947
parent33e9e44a177e9121d51e51363b30509b75141bcc (diff)
downloadcoreboot-a3204f7278565be10de4c1529a4d3c00649d28ed.tar.gz
coreboot-a3204f7278565be10de4c1529a4d3c00649d28ed.tar.bz2
coreboot-a3204f7278565be10de4c1529a4d3c00649d28ed.zip
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>
-rw-r--r--src/mainboard/google/veyron/bootblock.c2
-rw-r--r--src/mainboard/google/veyron_mickey/bootblock.c2
-rw-r--r--src/mainboard/google/veyron_rialto/bootblock.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/veyron/bootblock.c b/src/mainboard/google/veyron/bootblock.c
index 0d11462a88d1..6b0cc81965af 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 d9358a3720af..261d7e540204 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 52303786b01d..a0ce1ab1c2dd 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);