X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Ffputs.c;h=3c6b888ff151790c80af1149ef67b5826209ff0a;hb=82c36ba715d2c440f21c501661abfeae0f507fab;hp=0f92aaa7d1beaf64cec2931d4557ca949ef48a4b;hpb=0a419d48138f1411d6e3e50a367b9ece5a2cf893;p=pdclib diff --git a/functions/stdio/fputs.c b/functions/stdio/fputs.c index 0f92aaa..3c6b888 100644 --- a/functions/stdio/fputs.c +++ b/functions/stdio/fputs.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* fputs( const char *, FILE * ) This file is part of the Public Domain C Library (PDCLib). @@ -11,7 +9,7 @@ #ifndef REGTEST #include <_PDCLIB_io.h> -int fputs_unlocked( const char * _PDCLIB_restrict s, +int _PDCLIB_fputs_unlocked( const char * _PDCLIB_restrict s, FILE * _PDCLIB_restrict stream ) { if ( _PDCLIB_prepwrite( stream ) == EOF ) @@ -49,9 +47,9 @@ int fputs_unlocked( const char * _PDCLIB_restrict s, int fputs( const char * _PDCLIB_restrict s, FILE * _PDCLIB_restrict stream ) { - flockfile( stream ); - int r = fputs_unlocked( s, stream ); - funlockfile( stream ); + _PDCLIB_flockfile( stream ); + int r = _PDCLIB_fputs_unlocked( s, stream ); + _PDCLIB_funlockfile( stream ); return r; }