summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-06-22 07:49:10 (GMT)
committerJoe Hershberger <joe.hershberger@ni.com>2017-08-07 20:18:29 (GMT)
commit0c1b869b2eb27a8acb2db24c5b2b685af21ba7f2 (patch)
treef8fa63265bfb88e8b8a774d52106dd391850b28f /cmd
parentb044cc1dee8f8af4dcad6ca2ef3ff4f577b79229 (diff)
downloadu-boot-fsl-qoriq-0c1b869b2eb27a8acb2db24c5b2b685af21ba7f2.tar.xz
net: add static to do_tftpput()
This is only used in cmd/net.c Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/net.c b/cmd/net.c
index df8b6c9..5e91d3a 100644
--- a/cmd/net.c
+++ b/cmd/net.c
@@ -42,7 +42,7 @@ U_BOOT_CMD(
);
#ifdef CONFIG_CMD_TFTPPUT
-int do_tftpput(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_tftpput(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
return netboot_common(TFTPPUT, cmdtp, argc, argv);
}