]> pd.if.org Git - pdclib/blobdiff - platform/example/functions/stdio/tmpfile.c
* Test cleanups: surround the code for all functions by #ifndef REGTEST
[pdclib] / platform / example / functions / stdio / tmpfile.c
index 2d52f60b38c06e7e57712ea3f7e6949d3fa3650f..3f384e7d6ef44431ebbba5a473feb764e19cafe4 100644 (file)
@@ -20,7 +20,7 @@ extern struct _PDCLIB_file_t * _PDCLIB_filelist;
 struct _PDCLIB_file_t * tmpfile( void )
 {
     errno = ENOTSUP;
-    return 1;
+    return NULL;
 }
 
 #endif