From: Owen Shepherd Date: Mon, 7 Jan 2013 15:10:33 +0000 (+0000) Subject: win32: update tmpfile return type to be FILE* X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=c2689d2169835d54d8dc50b51c5720557f196b88 win32: update tmpfile return type to be FILE* --- diff --git a/platform/win32/functions/stdio/tmpfile.c b/platform/win32/functions/stdio/tmpfile.c index 1b3b4ba..d670f23 100644 --- a/platform/win32/functions/stdio/tmpfile.c +++ b/platform/win32/functions/stdio/tmpfile.c @@ -19,7 +19,7 @@ static char tmpname_prefix[4] = {0, 0, 0, 0}; extern const _PDCLIB_fileops_t _PDCLIB_fileops; extern void _PDCLIB_w32errno( void ); -struct _PDCLIB_file_t * tmpfile( void ) +FILE* tmpfile( void ) { if(!tmpname_prefix[0]) { char namebuf[MAX_PATH+1];