X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2Fstdio%2Ftmpfile.c;h=94351caad147da0ce6bf2c498906f5dd9eeb5fb2;hp=3f384e7d6ef44431ebbba5a473feb764e19cafe4;hb=baf13261427b80f6e3aab2c7ce485ab08d31144f;hpb=e0a1864c7e4dbd4d482379b1bb6fd56b5ac68617 diff --git a/platform/example/functions/stdio/tmpfile.c b/platform/example/functions/stdio/tmpfile.c index 3f384e7..94351ca 100644 --- a/platform/example/functions/stdio/tmpfile.c +++ b/platform/example/functions/stdio/tmpfile.c @@ -13,11 +13,9 @@ #include #include <_PDCLIB_glue.h> -extern struct _PDCLIB_file_t * _PDCLIB_filelist; - /* This is a stub implementation of tmpfile */ -struct _PDCLIB_file_t * tmpfile( void ) +FILE* tmpfile( void ) { errno = ENOTSUP; return NULL;