X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Ffprintf.c;fp=functions%2Fstdio%2Ffprintf.c;h=0227cd4d17ad520dfb99bc21160d060f0ccb93bb;hb=0a419d48138f1411d6e3e50a367b9ece5a2cf893;hp=421ca5273f8e153f763c12b0b4399e1f008c1b2a;hpb=702e9008178bdb5c1b123b963868c946537fb7f5;p=pdclib diff --git a/functions/stdio/fprintf.c b/functions/stdio/fprintf.c index 421ca52..0227cd4 100644 --- a/functions/stdio/fprintf.c +++ b/functions/stdio/fprintf.c @@ -10,8 +10,9 @@ #include #ifndef REGTEST +#include <_PDCLIB_io.h> -int fprintf_unlocked( struct _PDCLIB_file_t * _PDCLIB_restrict stream, +int fprintf_unlocked( FILE * _PDCLIB_restrict stream, const char * _PDCLIB_restrict format, ... ) { int rc; @@ -22,7 +23,7 @@ int fprintf_unlocked( struct _PDCLIB_file_t * _PDCLIB_restrict stream, return rc; } -int fprintf( struct _PDCLIB_file_t * _PDCLIB_restrict stream, +int fprintf( FILE * _PDCLIB_restrict stream, const char * _PDCLIB_restrict format, ... ) { int rc;