X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fferror.c;h=07ecde7228774b237f6a5fbdbaa2ec8c93e973cc;hb=HEAD;hp=f683787e567975ad8cd759b58bee255a16ddc990;hpb=0e35e82c5e9a0804864839e8fc0e985b1ae41f07;p=pdclib.old diff --git a/functions/stdio/ferror.c b/functions/stdio/ferror.c index f683787..07ecde7 100644 --- a/functions/stdio/ferror.c +++ b/functions/stdio/ferror.c @@ -11,16 +11,16 @@ #ifndef REGTEST #include <_PDCLIB_io.h> -int ferror_unlocked( FILE * stream ) +int _PDCLIB_ferror_unlocked( FILE * stream ) { return stream->status & _PDCLIB_ERRORFLAG; } int ferror( FILE * stream ) { - flockfile( stream ); - int error = ferror_unlocked( stream ); - funlockfile( stream ); + _PDCLIB_flockfile( stream ); + int error = _PDCLIB_ferror_unlocked( stream ); + _PDCLIB_funlockfile( stream ); return error; }