X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2Fstdio%2Ftmpfile.c;h=94351caad147da0ce6bf2c498906f5dd9eeb5fb2;hp=3f384e7d6ef44431ebbba5a473feb764e19cafe4;hb=af55dc64b9118345203e7ba7bd262e6444573795;hpb=77e0f19332a2b4e64d48ecb48557ea7aefa2cc61 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;