[U-Boot-Users] patch to common.h

Wolfgang Denk wd at denx.de
Tue Feb 24 01:58:57 CET 2004


In message <20040221003942.68f288ab.fryman at cc.gatech.edu> you wrote:
> 
> here's a small patch that permits stringification in an ISO C portable
> way.  eg, you can have
> 
>   #define FOO	xyzabc
> 
> and someplace else call
> 
>   Xstr(FOO)
> 
> which will literally be replaced with
> 
>   "xyzabc"

This is nothing new.

> this was very useful in a couple of key places in some other patches
> and new-platform support.

Where exactly is it needed? I can see zero reference in the  existing
code.


I will not add dead code just for the fun of it. Rejected.

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
Successful and fortunate crime is called virtue.             - Seneca




More information about the U-Boot mailing list