]> pd.if.org Git - pdclib/blobdiff - functions/stdlib/_Exit.c
Merged branch stdio_rewrite back into trunk.
[pdclib] / functions / stdlib / _Exit.c
index 4a24b29a8311b8c18960226176a80f76d20865a2..3244f93e2978a0d7776e12f60a6c102e71a089be 100644 (file)
@@ -7,13 +7,16 @@
 */
 
 #include <stdlib.h>
-#include <_PDCLIB_glue.h>
+#include <stdio.h>
 
 #ifndef REGTEST
+#include <_PDCLIB_glue.h>
 
 void _Exit( int status )
 {
-    /* TODO: Flush and close open streams. Remove tmpfile() files. */
+    /* TODO: Flush and close open streams. Remove tmpfile() files. Make this
+       called on process termination automatically.
+    */
     _PDCLIB_Exit( status );
 }