summaryrefslogtreecommitdiff
path: root/net/tftp.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-10-27 06:24:28 +0000
committerWolfgang Denk <wd@denx.de>2011-10-27 23:53:57 +0200
commit165099e753aeb3a734edbdad887f964277d11ab8 (patch)
treeb8388df9145c6dde891e2169249dcf6b44a953a6 /net/tftp.c
parent39bccd21d0c838242fb86bceda759e5640d4d683 (diff)
downloadu-boot-165099e753aeb3a734edbdad887f964277d11ab8.tar.gz
net: Make net_transfer() a static function
This should be a static function so it can be inlined. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'net/tftp.c')
-rw-r--r--net/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tftp.c b/net/tftp.c
index e34f20247b..81f9af430e 100644
--- a/net/tftp.c
+++ b/net/tftp.c
@@ -198,7 +198,7 @@ store_block(unsigned block, uchar *src, unsigned len)
}
/* Clear our state ready for a new transfer */
-void new_transfer(void)
+static void new_transfer(void)
{
TftpLastBlock = 0;
TftpBlockWrap = 0;