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>
This commit is contained in:
committed by
Martin Roth
parent
e2e8ccefd7
commit
6faccd1f00
@@ -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"
|
||||
|
Reference in New Issue
Block a user