From 92675d67235b43f2f860a000fff5371dfbd25de6 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sun, 15 Nov 2020 19:29:22 +0100 Subject: nvramcui: Make local render_form() function static Allows us to build with `-Wmissing-prototypes`. Change-Id: I722b41e515ee472697028a912b9136ce59611051 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/47635 Reviewed-by: Paul Menzel Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- payloads/nvramcui/nvramcui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'payloads') diff --git a/payloads/nvramcui/nvramcui.c b/payloads/nvramcui/nvramcui.c index ee3de1cde0..db3e522d60 100644 --- a/payloads/nvramcui/nvramcui.c +++ b/payloads/nvramcui/nvramcui.c @@ -37,7 +37,7 @@ static int max(int x, int y) return y; } -void render_form(FORM *form) +static void render_form(FORM *form) { int y, x, line; WINDOW *w = form_win(form); -- cgit v1.2.3