summaryrefslogtreecommitdiff
path: root/payloads/coreinfo
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-06-28 11:03:31 -0600
committerMartin Roth <martinroth@google.com>2019-07-07 20:20:44 +0000
commit609305fa764470b114237cfcfb0d2a795c5e6abb (patch)
treef3ca42fa2de8da82d285fb45fea70177970ab245 /payloads/coreinfo
parent729d5971d23bf63873908760c39b7da36a7646fa (diff)
downloadcoreboot-609305fa764470b114237cfcfb0d2a795c5e6abb.tar.xz
payloads/coreinfo: Make internal functions static
These functions are only used in the files they are defined in, so they can be made static. Change-Id: Ic7f78912803cbdd1cb3a75f7f69f526739dab6e7 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33865 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'payloads/coreinfo')
-rw-r--r--payloads/coreinfo/coreboot_module.c2
-rw-r--r--payloads/coreinfo/multiboot_module.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/payloads/coreinfo/coreboot_module.c b/payloads/coreinfo/coreboot_module.c
index 66c258249c..e56ce68ed6 100644
--- a/payloads/coreinfo/coreboot_module.c
+++ b/payloads/coreinfo/coreboot_module.c
@@ -37,7 +37,7 @@ static struct {
static int tables_good = 0;
-int coreboot_module_redraw(WINDOW *win)
+static int coreboot_module_redraw(WINDOW *win)
{
int row = 2;
int i;
diff --git a/payloads/coreinfo/multiboot_module.c b/payloads/coreinfo/multiboot_module.c
index e394dbd732..865561d973 100644
--- a/payloads/coreinfo/multiboot_module.c
+++ b/payloads/coreinfo/multiboot_module.c
@@ -32,7 +32,7 @@ static struct {
static int tables_good = 0;
-int multiboot_module_redraw(WINDOW *win)
+static int multiboot_module_redraw(WINDOW *win)
{
int row = 2;
int i;