]> pd.if.org Git - pdclib/commitdiff
win32: update tmpfile return type to be FILE*
authorOwen Shepherd <owen.shepherd@e43.eu>
Mon, 7 Jan 2013 15:10:33 +0000 (15:10 +0000)
committerOwen Shepherd <owen.shepherd@e43.eu>
Mon, 7 Jan 2013 15:10:33 +0000 (15:10 +0000)
platform/win32/functions/stdio/tmpfile.c

index 1b3b4bab9b6886b7b5db8493825b34ca610d1618..d670f23e72f6a8f592f4ebc024667af811a3e374 100644 (file)
@@ -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];