diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2012-10-29 13:34:33 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-11-04 11:00:36 -0700 |
commit | 0637059088a2579b3c0d67a5ca7d34dd7721204f (patch) | |
tree | 0b7a7c8ab18a3aa7745f33bc4145136c1ac7e7b9 /common | |
parent | 199adb601ff34bdbbd0667fac80dfe0a87bffc2b (diff) | |
download | u-boot-0637059088a2579b3c0d67a5ca7d34dd7721204f.tar.gz u-boot-0637059088a2579b3c0d67a5ca7d34dd7721204f.tar.bz2 u-boot-0637059088a2579b3c0d67a5ca7d34dd7721204f.zip |
net/: sparse fixes
bootp.c:44:14: warning: symbol 'dhcp_state' was not declared. Should it be static?
bootp.c:45:15: warning: symbol 'dhcp_leasetime' was not declared. Should it be static?
bootp.c:46:10: warning: symbol 'NetDHCPServerIP' was not declared. Should it be static?
arp.c:30:17: warning: symbol 'NetArpWaitReplyIP' was not declared. Should it be static?
arp.c:37:16: warning: symbol 'NetArpTxPacket' was not declared. Should it be static?
arp.c:38:17: warning: symbol 'NetArpPacketBuf' was not declared. Should it be static?
atheros.c:33:19: warning: symbol 'AR8021_driver' was not declared. Should it be static?
net.c:183:7: warning: symbol 'PktBuf' was not declared. Should it be static?
net.c:159:21: warning: symbol 'net_state' was not declared. Should it be static?
ping.c:73:6: warning: symbol 'ping_start' was not declared. Should it be static?
ping.c:82:13: warning: symbol 'ping_receive' was not declared. Should it be static?
tftp.c:53:7: warning: symbol 'TftpRRQTimeoutMSecs' was not declared. Should it be static?
tftp.c:54:5: warning: symbol 'TftpRRQTimeoutCountMax' was not declared. Should it be static?
eth.c:125:19: warning: symbol 'eth_current' was not declared. Should it be static?
Note: in the ping.c fix, commit a36b12f95a29647a06b5459198684fc142482020
"net: Move PING out of net.c" mistakenly carried the ifdef CMD_PING
clause from when it was necessary to avoid warnings when it was embedded
in net.c.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/update.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/update.c b/common/update.c index 5b1a064c29..94d6a82aeb 100644 --- a/common/update.c +++ b/common/update.c @@ -37,6 +37,7 @@ #include <command.h> #include <flash.h> #include <net.h> +#include <net/tftp.h> #include <malloc.h> /* env variable holding the location of the update file */ |