summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-08-25 18:51:45 +0200
committerElyes Haouas <ehaouas@noos.fr>2023-08-28 17:09:46 +0000
commit37ccd23155038463cbfc803c3587a54e2540a91f (patch)
tree39c62543a6ebc0dde7fc162cc6908f0c78efc448 /payloads
parent6cf1a51bafbc11b77fe05f0addcb59ad7bfe276d (diff)
payloads/libpayload: Don't use old style function definition
Use "int foo(void)" instead of old-style "int foo()". Change-Id: Ic698dbbba74d579a21ff57005a7aa9bb8ce80253 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77485 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/curses/PDCurses/doc/manext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/curses/PDCurses/doc/manext.c b/payloads/libpayload/curses/PDCurses/doc/manext.c
index 4ce7cbf572..a62a944b75 100644
--- a/payloads/libpayload/curses/PDCurses/doc/manext.c
+++ b/payloads/libpayload/curses/PDCurses/doc/manext.c
@@ -30,7 +30,7 @@
#define MAX_LINE 255
-void display_info()
+void display_info(void)
{
fprintf(stderr, "\nMANEXT 1.03 Copyright (C) 1991-1996 Mark Hessling\n"
"All rights reserved.\n"