Dear Heinrich,
In message <[email protected]> you wrote:
>
> As we always try to use the same definition in U-Boot as in glibc we
> should really replace getc() by another symbol, e.g. chget() so that we
> avoid confusion.
We should not invent any new names when there are existing good
alterntives.
Why not use getchar()?
Quote fgetc(3) man page:
...
int getchar(void);
...
getchar() is equivalent to getc(stdin).
...
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]
I saw Susie sitting in a shoe shine shop. Where she sits she shines,
and where she shines she sits.