Dear Heinrich, In message <[email protected]> you wrote: > > >We should not invent any new names when there are existing good > >alterntives. > > > >Why not use getchar()? ...
> please, have a look at http://patchwork.ozlabs.org/project/uboot/patch> > /[email protected]/ > > Is such a #define the way to go or should we globally rename getc? I don't think this is a good idea; I would recommend to keep the getc() as used so far in normal U-Boot, and only "translate" it into getchar() for the sandbox environment. Especially messing with include/_exports.h is critical, as this is used for standalone applications, which are the only allowed exception from GPL code, so we have to assume there is some amount of binary-only code in the field, and we should be careful not to break this without need. Changes here may break compatibility. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] "Well I don't see why I have to make one man miserable when I can make so many men happy." - Ellyn Mustard, about marriage

