X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fstdio%2Fgetchar.c;h=1e761766bf5d79b27349be4d869a48469492b3b6;hp=406abe434f9dd4fefc3899eb13bf7c6794c9265c;hb=b5b6c4a890795ea76f9b92b817b0a83c6bb4862c;hpb=aa8b812cace09efe5e21f191761a5258b266b87b 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 ); }