X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Ffeof.c;h=772bb5090f3223cb9e0d8382577657e56937c382;hp=b37c7b94dd0bdffbf734eaba24d4aaf9a15ed384;hb=202af43c19ec4f5f1d1b2827a7ef0b46abfebed5;hpb=c45b8c52827f1ea733cf211045d8d5b7bedcc970 diff --git a/functions/stdio/feof.c b/functions/stdio/feof.c index b37c7b9..772bb50 100644 --- a/functions/stdio/feof.c +++ b/functions/stdio/feof.c @@ -11,16 +11,16 @@ #ifndef REGTEST #include <_PDCLIB_io.h> -int feof_unlocked( FILE * stream ) +int _PDCLIB_feof_unlocked( FILE * stream ) { return stream->status & _PDCLIB_EOFFLAG; } int feof( FILE * stream ) { - flockfile( stream ); - int eof = feof_unlocked( stream ); - funlockfile( stream ); + _PDCLIB_flockfile( stream ); + int eof = _PDCLIB_feof_unlocked( stream ); + _PDCLIB_funlockfile( stream ); return eof; }