From ea5427e2607041f6f5cf0bff8f5c85bc7f67dbf8 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 15 May 2013 06:23:54 +0000 Subject: net: Add prototype for update_tftp This function should be declared in net.h. Signed-off-by: Simon Glass Reviewed-by: Joe Hershberger --- common/cmd_fitupd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'common/cmd_fitupd.c') diff --git a/common/cmd_fitupd.c b/common/cmd_fitupd.c index 7a3789e3e..618ff7c8d 100644 --- a/common/cmd_fitupd.c +++ b/common/cmd_fitupd.c @@ -8,13 +8,12 @@ #include #include +#include #if !defined(CONFIG_UPDATE_TFTP) #error "CONFIG_UPDATE_TFTP required" #endif -extern int update_tftp(ulong addr); - static int do_fitupd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { ulong addr = 0UL; -- cgit v1.2.3-70-g09d2