diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/bootp.c | 2 | ||||
-rw-r--r-- | net/tftp.c | 3 | ||||
-rw-r--r-- | net/tftp.h | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/net/bootp.c b/net/bootp.c index 73470f2..b703f42 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -165,7 +165,7 @@ static void auto_load(void) } #endif } - TftpStart(); + TftpStart(TFTPGET); } #if !defined(CONFIG_CMD_DHCP) @@ -595,8 +595,7 @@ TftpTimeout(void) } -void -TftpStart(void) +void TftpStart(enum proto_t protocol) { char *ep; /* Environment pointer */ @@ -16,7 +16,7 @@ */ /* tftp.c */ -extern void TftpStart (void); /* Begin TFTP get */ +void TftpStart(enum proto_t protocol); /* Begin TFTP get/put */ #ifdef CONFIG_CMD_TFTPSRV extern void TftpStartServer(void); /* Wait for incoming TFTP put */ |