[U-Boot-Users] [PATCH] configh

Wolfgang Denk wd at denx.de
Sun May 16 19:34:21 CEST 2004


In message <20040516095806.GU27774 at pengutronix.de> you wrote:
>
> It's normally good coding practise to include the files which have the
> stuff you actually need, instead of relying on other include files
> including other includefiles and wondering why things break if somebody

Actually config.h is needed more or less everywhere  so  I  think  it
makes  more  sense  to have it included once (in common.h) instead of
adding it in more than 500 other files.

> changes something in the other file. But the decision is surely up to
> you. 

Nothing is broken, so I see no need to fix anything.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
EMACS belongs in <sys/errno.h>: Editor too big!




More information about the U-Boot mailing list