X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fstdio%2Ffputs.c;h=0f92aaa7d1beaf64cec2931d4557ca949ef48a4b;hp=0b1e3256f3d32153d88e7e18270b3ad942590fb5;hb=0e35e82c5e9a0804864839e8fc0e985b1ae41f07;hpb=4fe88a1c445105a96d08b808831d6fc7480a211d diff --git a/functions/stdio/fputs.c b/functions/stdio/fputs.c index 0b1e325..0f92aaa 100644 --- a/functions/stdio/fputs.c +++ b/functions/stdio/fputs.c @@ -9,10 +9,10 @@ #include #ifndef REGTEST -#include <_PDCLIB_glue.h> +#include <_PDCLIB_io.h> int fputs_unlocked( const char * _PDCLIB_restrict s, - struct _PDCLIB_file_t * _PDCLIB_restrict stream ) + FILE * _PDCLIB_restrict stream ) { if ( _PDCLIB_prepwrite( stream ) == EOF ) { @@ -47,7 +47,7 @@ int fputs_unlocked( const char * _PDCLIB_restrict s, } int fputs( const char * _PDCLIB_restrict s, - struct _PDCLIB_file_t * _PDCLIB_restrict stream ) + FILE * _PDCLIB_restrict stream ) { flockfile( stream ); int r = fputs_unlocked( s, stream );