X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fstdio%2Ffprintf.c;h=0227cd4d17ad520dfb99bc21160d060f0ccb93bb;hp=421ca5273f8e153f763c12b0b4399e1f008c1b2a;hb=0e35e82c5e9a0804864839e8fc0e985b1ae41f07;hpb=4fe88a1c445105a96d08b808831d6fc7480a211d 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;