X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Ffflush.c;h=3f1a4118a4d9a9ff7dc300b303e3e08badfbb4f3;hp=e03079fcc9c17fdf661a961b77fdbec46cbbab60;hb=202af43c19ec4f5f1d1b2827a7ef0b46abfebed5;hpb=c45b8c52827f1ea733cf211045d8d5b7bedcc970 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; }