X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fstdio%2Ffflush.c;h=3f1a4118a4d9a9ff7dc300b303e3e08badfbb4f3;hp=e03079fcc9c17fdf661a961b77fdbec46cbbab60;hb=b5b6c4a890795ea76f9b92b817b0a83c6bb4862c;hpb=aa8b812cace09efe5e21f191761a5258b266b87b diff --git a/functions/stdio/fflush.c b/functions/stdio/fflush.c index e03079f..3f1a411 100644 --- a/functions/stdio/fflush.c +++ b/functions/stdio/fflush.c @@ -13,7 +13,7 @@ extern FILE * _PDCLIB_filelist; -int fflush_unlocked( FILE * stream ) +int _PDCLIB_fflush_unlocked( FILE * stream ) { if ( stream == NULL ) { @@ -41,9 +41,9 @@ int fflush_unlocked( FILE * stream ) int fflush( FILE * stream ) { - flockfile( stream ); - int res = fflush_unlocked(stream); - funlockfile( stream ); + _PDCLIB_flockfile( stream ); + int res = _PDCLIB_fflush_unlocked(stream); + _PDCLIB_funlockfile( stream ); return res; }