fix a bug in _exit() that called the _IO_cleanup routine as if it was

a function pointer, which it isn't.
The mistake was probably made because there appears to be multiple stdio implementations
in the tree (BSD and glibc) so it's easy to look at the wrong code. Perhaps
we should clean that up.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20720 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Travis Geiselbrecht 2007-04-16 03:20:42 +00:00
parent ca1b900bdb
commit 806f6f1161

View File

@ -8,8 +8,7 @@
#include <syscalls.h>
extern void (*_IO_cleanup)(void);
extern void _IO_cleanup(void);
void
_exit(int status)