X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Ffflush.c;h=85bd234b5a94cca01ea0b3a403b4b9d1a060bf1b;hb=3a988bf47bda2322d7759d3c4518c03e0ef98ba4;hp=e03079fcc9c17fdf661a961b77fdbec46cbbab60;hpb=0a419d48138f1411d6e3e50a367b9ece5a2cf893;p=pdclib diff --git a/functions/stdio/fflush.c b/functions/stdio/fflush.c index e03079f..85bd234 100644 --- a/functions/stdio/fflush.c +++ b/functions/stdio/fflush.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* fflush( FILE * ) This file is part of the Public Domain C Library (PDCLib). @@ -13,7 +11,7 @@ extern FILE * _PDCLIB_filelist; -int fflush_unlocked( FILE * stream ) +int _PDCLIB_fflush_unlocked( FILE * stream ) { if ( stream == NULL ) { @@ -41,9 +39,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; }