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