X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fgetc.c;h=b0c56f4c5cf3504f63a1785e32503b5783c14a8a;hb=3309ec3ad8a5db735eaa2de7f5dc6a331d8e7319;hp=9338bafaa11114266bdb01a00bc67e577a721111;hpb=84d648157e22cecc65902ecfdd4e3a1b88d5e53f;p=pdclib.old diff --git a/functions/stdio/getc.c b/functions/stdio/getc.c index 9338baf..b0c56f4 100644 --- a/functions/stdio/getc.c +++ b/functions/stdio/getc.c @@ -9,13 +9,14 @@ #include #ifndef REGTEST - -int getc_unlocked( struct _PDCLIB_file_t * stream ) +#include <_PDCLIB_io.h> + +int _PDCLIB_getc_unlocked( FILE * stream ) { - return fgetc_unlocked( stream ); + return _PDCLIB_fgetc_unlocked( stream ); } -int getc( struct _PDCLIB_file_t * stream ) +int getc( FILE * stream ) { return fgetc( stream ); }