From 37ccd23155038463cbfc803c3587a54e2540a91f Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Fri, 25 Aug 2023 18:51:45 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77485 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- payloads/libpayload/curses/PDCurses/doc/manext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'payloads') 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" -- cgit v1.2.3