projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39bccd2
)
net: Make net_transfer() a static function
author
Simon Glass
<sjg@chromium.org>
Thu, 27 Oct 2011 06:24:28 +0000
(06:24 +0000)
committer
Wolfgang 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
patch
|
blob
|
history
diff --git
a/net/tftp.c
b/net/tftp.c
index e34f20247bcf148133618348fe3c95f824601c03..81f9af430e594c08b509b64cb7463ff0f6a9b216 100644
(file)
--- 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;