summaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-06-21 15:24:17 -0600
committerNico Huber <nico.h@gmx.de>2019-06-23 21:39:31 +0000
commitbeeb8bc925bef6973e1c9fa6c4fd26a4113a1777 (patch)
tree30c63cf4ae4bb14a19849b1680622ad6eed86d63 /print.c
parentcb44eb7dad17522f47792dca4fc499310ff7d6f3 (diff)
downloadflashrom-beeb8bc925bef6973e1c9fa6c4fd26a4113a1777.tar.gz
flashrom-beeb8bc925bef6973e1c9fa6c4fd26a4113a1777.tar.bz2
flashrom-beeb8bc925bef6973e1c9fa6c4fd26a4113a1777.zip
tree: Make internal functions static
None of these functions are used outside of the files they are defined in, so make them all static. Change-Id: Ie9cbe12d289bcedacf2f1bf483ae64ef8039ccc1 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/flashrom/+/33667 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'print.c')
-rw-r--r--print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print.c b/print.c
index 7eb5485e9..cfe6267b6 100644
--- a/print.c
+++ b/print.c
@@ -423,7 +423,7 @@ static void print_supported_boards_helper(const struct board_info *boards,
}
#endif
-void print_supported_devs(const struct programmer_entry prog, const char *const type)
+static void print_supported_devs(const struct programmer_entry prog, const char *const type)
{
const struct dev_entry *const devs = prog.devs.dev;
msg_ginfo("\nSupported %s devices for the %s programmer:\n", type, prog.name);