summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2024-08-21 13:24:11 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-08-26 11:10:41 +0000
commit4b0fe8c8cd2a26c2ae043b1b0753497a53aa000c (patch)
tree1e45d06c215f4fca6a9543d3e9e5a1c732514e4a
parentb4f47e8067a7ef55ad5e2f18058031a871edbfef (diff)
nvramcui: Fix main function signature
LTO is not happy about signature mismatch. Change-Id: Ia0c50224bd70503e884573fedf3bf33c134bba00 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84011 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--payloads/nvramcui/nvramcui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/nvramcui/nvramcui.c b/payloads/nvramcui/nvramcui.c
index b3a8306b26..97a8a2399f 100644
--- a/payloads/nvramcui/nvramcui.c
+++ b/payloads/nvramcui/nvramcui.c
@@ -159,7 +159,7 @@ static void cmos_walk_options(struct cb_cmos_option_table *opttbl, FIELD **field
fields[2 * numopts] = NULL;
}
-int main(void)
+int main(int argc, char **argv)
{
int ch, done;
int i;