summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/atexit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libc/stdlib/atexit.c b/libc/stdlib/atexit.c
index a7ec0fb1f..c720d4e90 100644
--- a/libc/stdlib/atexit.c
+++ b/libc/stdlib/atexit.c
@@ -50,15 +50,12 @@ int atexit(vfuncp ptr)
#endif
#ifdef L_exit
-void __stdio_close_all(void); /* note: see _start.S - could be faked */
-
vfuncp __cleanup = 0;
void exit(int rv)
{
if (__cleanup)
__cleanup();
- __stdio_close_all();
_exit(rv);
}
#endif