summaryrefslogtreecommitdiff
path: root/util/inteltool/inteltool.c
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-07-01 11:21:55 -0600
committerMartin Roth <martinroth@google.com>2019-07-07 20:23:42 +0000
commit6faccd1f00a3606b720fc3a233c2de5cd97bb176 (patch)
treed99ee83a5c9216425006833b559c7750d67a23fe /util/inteltool/inteltool.c
parente2e8ccefd7aa74add617f67b62977c946c20d759 (diff)
downloadcoreboot-6faccd1f00a3606b720fc3a233c2de5cd97bb176.tar.xz
util/inteltool: Make internal functions static
None of these functions are used outside of the files they are defined in, so they can all be static. Change-Id: Ie00fef5a5ba2779e0ff45640cff5cc9f1d096dc1 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33945 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'util/inteltool/inteltool.c')
-rw-r--r--util/inteltool/inteltool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c
index 7e02510752..76b1abed9c 100644
--- a/util/inteltool/inteltool.c
+++ b/util/inteltool/inteltool.c
@@ -443,7 +443,7 @@ void unmap_physical(void *virt_addr, size_t len)
}
#endif
-void print_version(void)
+static void print_version(void)
{
printf("inteltool v%s -- ", INTELTOOL_VERSION);
printf("Copyright (C) 2008 coresystems GmbH\n\n");
@@ -457,7 +457,7 @@ void print_version(void)
"GNU General Public License for more details.\n\n");
}
-void print_usage(const char *name)
+static void print_usage(const char *name)
{
printf("usage: %s [-vh?gGrpmedPMaAsfSRx]\n", name);
printf("\n"