mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-29 05:55:44 +08:00
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:
parent
eeb943b06c
commit
9f34e6e805
@ -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 */
|
Loading…
Reference in New Issue
Block a user