summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-08-25 13:07:25 +0200
committerMartin L Roth <gaumless@gmail.com>2023-08-26 21:01:43 +0000
commitae57f1d2dcb058f44690b44c36870605aa725f08 (patch)
treedbb1fccb370450ca6794086c2ff109942171263d /payloads
parentaacf35cca379ae81b71d6250ac1cc662ff15d878 (diff)
libpayload: Fix untyped function arguments
This is necessary with clang. Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: Icc197fbd48b49bfa8770caf01727669b0ac59090 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77433 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/libc/malloc.c2
1 files changed, 1 insertions, 1 deletions
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;
}