From 0d7d1cbcd86e772b4e97f426c81bc8a20b096224 Mon Sep 17 00:00:00 2001 From: Owen Shepherd Date: Mon, 7 Jan 2013 15:10:33 +0000 Subject: [PATCH] win32: update tmpfile return type to be FILE* --- platform/win32/functions/stdio/tmpfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.40.0