summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2020-11-15 19:29:22 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-01-13 12:14:11 +0000
commit92675d67235b43f2f860a000fff5371dfbd25de6 (patch)
treed5c639a30f6da20a562028a43345170787579ab6 /payloads
parent2fa7f07fada00eb031360797a689e38551802114 (diff)
downloadcoreboot-92675d67235b43f2f860a000fff5371dfbd25de6.tar.xz
nvramcui: Make local render_form() function static
Allows us to build with `-Wmissing-prototypes`. Change-Id: I722b41e515ee472697028a912b9136ce59611051 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47635 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads')
-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 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);