summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-07-01 12:10:28 -0600
committerMartin Roth <martinroth@google.com>2019-07-07 20:26:44 +0000
commitf2a2137ae2125c6b2e67c8d73d85fa5dd9ee7c4b (patch)
tree0102474a045df69d912fb0d6d06abd25193fc44f
parent4177bedd65f0f19400acf8f21aedd2abf3c837bf (diff)
util/nvramtool: Make internal function static
This function is only used in this file, so it can be made static. Change-Id: I90e673da91eb926424d1730c268860da7fa1627b Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33948 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
-rw-r--r--util/nvramtool/accessors/layout-bin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvramtool/accessors/layout-bin.c b/util/nvramtool/accessors/layout-bin.c
index 8cf29d8fa7..baada2706a 100644
--- a/util/nvramtool/accessors/layout-bin.c
+++ b/util/nvramtool/accessors/layout-bin.c
@@ -89,7 +89,7 @@ void get_layout_from_cbfs_file(void)
process_layout();
}
-int write_cmos_layout_bin(FILE *f)
+static int write_cmos_layout_bin(FILE *f)
{
const cmos_entry_t *cmos_entry;
const cmos_enum_t *cmos_enum;