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>
This commit is contained in:
Arthur Heymans
2022-11-29 18:53:47 +01:00
committed by Felix Held
parent 33e9e44a17
commit a3204f7278
3 changed files with 3 additions and 3 deletions

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);