Updated from /src/gettext-0.10.4/intl/finddomain.c
[glibc/history.git] / libio / cleanup.c
blobb4c8be927f90ef40048bcc80cddcc9101b4f76a1
1 #include "libioP.h"
2 #if _G_HAVE_ATEXIT
3 #include <stdlib.h>
5 typedef void (*voidfunc) __P((void));
7 static void
8 DEFUN_VOID(_IO_register_cleanup)
10 atexit ((voidfunc)_IO_cleanup);
11 _IO_cleanup_registration_needed = 0;
14 void (*_IO_cleanup_registration_needed)() = _IO_register_cleanup;
15 #endif /* _G_HAVE_ATEXIT */