X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fgetc.c;h=7898edfb04b56d74a18630aa2a25e25a8a9a905e;hb=e1c526e9bad3f6e69391e94059096145390508d3;hp=a459c22abbc50fd3a35c7b01ceb33e861bfce980;hpb=9a862b964b7c7226f4d2fc52de13e0db0a9c66d4;p=pdclib diff --git a/functions/stdio/getc.c b/functions/stdio/getc.c index a459c22..7898edf 100644 --- a/functions/stdio/getc.c +++ b/functions/stdio/getc.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* getc( FILE * ) This file is part of the Public Domain C Library (PDCLib). @@ -9,8 +7,14 @@ #include #ifndef REGTEST +#include <_PDCLIB_io.h> + +int _PDCLIB_getc_unlocked( FILE * stream ) +{ + return _PDCLIB_fgetc_unlocked( stream ); +} -int getc( struct _PDCLIB_file_t * stream ) +int getc( FILE * stream ) { return fgetc( stream ); }