From 3039845847edd5fd7ac122b3c65aa20b280c10eb Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 24 Oct 2011 18:00:05 +0000 Subject: BACKPORT: net: tftpput: Support selecting get/put for tftp TftpStart should support starting either a get or a put. (cherry-picked from 58f317d) Change-Id: Ic221520a1c7cb00536a42d3ab531efbcaba35bf6 Signed-off-by: Simon Glass Reviewed-on: https://gerrit.chromium.org/gerrit/11799 --- net/tftp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/tftp.h') diff --git a/net/tftp.h b/net/tftp.h index 3abdf7bc267..c51aa253c47 100644 --- a/net/tftp.h +++ b/net/tftp.h @@ -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 */ -- cgit v1.2.3