Hi Luca, > Signed-off-by: Luca Ceresoli <[email protected]> > Cc: Wolfgang Denk <[email protected]>
Acked-by: Detlev Zundel <[email protected]> Just for the future: [...] > diff --git a/net/tftp.h b/net/tftp.h > index e3dfb26..3abdf7b 100644 > --- a/net/tftp.h > +++ b/net/tftp.h > @@ -2,6 +2,8 @@ > * LiMon - BOOTP/TFTP. > * > * Copyright 1994, 1995, 2000 Neil Russell. > + * Copyright 2011 Comelit Group SpA > + * Luca Ceresoli <[email protected]> > * (See License) > */ > > @@ -16,6 +18,10 @@ > /* tftp.c */ > extern void TftpStart (void); /* Begin TFTP get */ > > +#ifdef CONFIG_CMD_TFTPSRV > +extern void TftpStartServer(void); /* Wait for incoming TFTP put */ > +#endif > + > /**********************************************************************/ > > #endif /* __TFTP_H__ */ I think we don't need the ifdefs in header files, or am I missing something? I _really_ like to avoid ifdefs wherever we can ;) Cheers Detlev -- I have a computer on which I can install any code I choose. I don't think that is a security flaw. On the contrary, if only one company can install a new version, that is a grave security flaw for me as a user. -- Richard Stallman <[email protected]> -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: [email protected] _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

