X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Fclearerr.c;h=a80e3e2987a1b727643717a5857c0cc8e48cd6d9;hp=20af80f298b4a1e792e6e8de80b5cce58f4e977a;hb=202af43c19ec4f5f1d1b2827a7ef0b46abfebed5;hpb=c45b8c52827f1ea733cf211045d8d5b7bedcc970 diff --git a/functions/stdio/clearerr.c b/functions/stdio/clearerr.c index 20af80f..a80e3e2 100644 --- a/functions/stdio/clearerr.c +++ b/functions/stdio/clearerr.c @@ -11,16 +11,16 @@ #ifndef REGTEST #include <_PDCLIB_io.h> -void clearerr_unlocked( FILE * stream ) +void _PDCLIB_clearerr_unlocked( FILE * stream ) { stream->status &= ~( _PDCLIB_ERRORFLAG | _PDCLIB_EOFFLAG ); } void clearerr( FILE * stream ) { - flockfile( stream ); - clearerr_unlocked( stream ); - funlockfile( stream ); + _PDCLIB_flockfile( stream ); + _PDCLIB_clearerr_unlocked( stream ); + _PDCLIB_funlockfile( stream ); } #endif