X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fstdio%2Fgetc.c;h=b0c56f4c5cf3504f63a1785e32503b5783c14a8a;hp=e733d0b087b07368932cae511c067226de0f319e;hb=b5b6c4a890795ea76f9b92b817b0a83c6bb4862c;hpb=aa8b812cace09efe5e21f191761a5258b266b87b diff --git a/functions/stdio/getc.c b/functions/stdio/getc.c index e733d0b..b0c56f4 100644 --- a/functions/stdio/getc.c +++ b/functions/stdio/getc.c @@ -9,10 +9,11 @@ #include #ifndef REGTEST - -int getc_unlocked( FILE * stream ) +#include <_PDCLIB_io.h> + +int _PDCLIB_getc_unlocked( FILE * stream ) { - return fgetc_unlocked( stream ); + return _PDCLIB_fgetc_unlocked( stream ); } int getc( FILE * stream )