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.old;a=commitdiff_plain;h=0d7d1cbcd86e772b4e97f426c81bc8a20b096224 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];