From: Simon Glass Date: Thu, 27 Oct 2011 06:24:28 +0000 (+0000) Subject: net: Make net_transfer() a static function X-Git-Tag: v2011.12-rc1~405 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=165099e753aeb3a734edbdad887f964277d11ab8;p=u-boot net: Make net_transfer() a static function This should be a static function so it can be inlined. Signed-off-by: Simon Glass Acked-by: Mike Frysinger --- 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;