]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
net: Make net_transfer() a static function
authorSimon Glass <sjg@chromium.org>
Thu, 27 Oct 2011 06:24:28 +0000 (06:24 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 27 Oct 2011 21:53:57 +0000 (23:53 +0200)
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>
net/tftp.c

index e34f20247bcf148133618348fe3c95f824601c03..81f9af430e594c08b509b64cb7463ff0f6a9b216 100644 (file)
@@ -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;