From 0209b2c932994e9ca55d39d98a83ea02aacd1332 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sat, 18 Mar 2023 23:18:11 -0400 Subject: Modernize code by removing use of old style definitions. Also add -Werror=old-style-definition to enforce new code. Message-Id: --- boot/boot_script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot/boot_script.c') diff --git a/boot/boot_script.c b/boot/boot_script.c index 6fd449b2..54007e6b 100644 --- a/boot/boot_script.c +++ b/boot/boot_script.c @@ -488,7 +488,7 @@ boot_script_parse_line (void *hook, char *cmdline) /* Execute commands previously parsed. */ int -boot_script_exec () +boot_script_exec (void) { int cmd_index; -- cgit v1.2.3