
16 May
2004
16 May
'04
7:34 p.m.
In message 20040516095806.GU27774@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@denx.de
EMACS belongs in <sys/errno.h>: Editor too big!