From ae57f1d2dcb058f44690b44c36870605aa725f08 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Fri, 25 Aug 2023 13:07:25 +0200 Subject: libpayload: Fix untyped function arguments This is necessary with clang. Signed-off-by: Arthur Heymans Change-Id: Icc197fbd48b49bfa8770caf01727669b0ac59090 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77433 Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas --- payloads/libpayload/libc/malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'payloads/libpayload/libc/malloc.c') diff --git a/payloads/libpayload/libc/malloc.c b/payloads/libpayload/libc/malloc.c index f94f33e5df..1fc2ef1013 100644 --- a/payloads/libpayload/libc/malloc.c +++ b/payloads/libpayload/libc/malloc.c @@ -112,7 +112,7 @@ void init_dma_memory(void *start, u32 size) #endif } -int dma_initialized() +int dma_initialized(void) { return dma != heap; } -- cgit v1.2.3