Am 29. September 2020 13:12:25 MESZ schrieb Wolfgang Denk <[email protected]>: >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
Hello Wolfgang, 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? Best regards Heinrich

