Benjamin Kosnik <bkoz@gnu.org>

* *: Merge with mainline glibc sources.
	* filedoalloc.c (_IO_file_doallocate): Don't call
	_IO_cleanup_registration_needed, even if not libc.
	* iofwide.c (_IO_fwide): Correct placement of defines.
	* cleanup.c: Remove.

From-SVN: r35693
This commit is contained in:
Benjamin Kosnik 2000-08-15 07:30:19 +00:00
parent eeb943b06c
commit 9f34e6e805

View File

@ -1,17 +0,0 @@
#include "libioP.h"
#if _G_HAVE_ATEXIT
#include <stdlib.h>
typedef void (*voidfunc) __P((void));
static void
_IO_register_cleanup ()
{
atexit ((voidfunc)_IO_cleanup);
_IO_cleanup_registration_needed = 0;
}
void (*_IO_cleanup_registration_needed)() = _IO_register_cleanup;
#else
void (*_IO_cleanup_registration_needed)() = NULL;
#endif /* _G_HAVE_ATEXIT */