X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Fgetchar.c;h=1e761766bf5d79b27349be4d869a48469492b3b6;hp=406abe434f9dd4fefc3899eb13bf7c6794c9265c;hb=202af43c19ec4f5f1d1b2827a7ef0b46abfebed5;hpb=c45b8c52827f1ea733cf211045d8d5b7bedcc970 diff --git a/functions/stdio/getchar.c b/functions/stdio/getchar.c index 406abe4..1e76176 100644 --- a/functions/stdio/getchar.c +++ b/functions/stdio/getchar.c @@ -9,10 +9,11 @@ #include #ifndef REGTEST +#include <_PDCLIB_io.h> -int getchar_unlocked( void ) +int _PDCLIB_getchar_unlocked( void ) { - return fgetc_unlocked( stdin ); + return _PDCLIB_fgetc_unlocked( stdin ); }