From 9f34e6e805cd37bb4c095889eafa0949d1274cfa Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Tue, 15 Aug 2000 07:30:19 +0000 Subject: [PATCH] Benjamin Kosnik * *: 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 --- libstdc++-v3/libio/cleanup.c | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 libstdc++-v3/libio/cleanup.c diff --git a/libstdc++-v3/libio/cleanup.c b/libstdc++-v3/libio/cleanup.c deleted file mode 100644 index 691fa838b26a..000000000000 --- a/libstdc++-v3/libio/cleanup.c +++ /dev/null @@ -1,17 +0,0 @@ -#include "libioP.h" -#if _G_HAVE_ATEXIT -#include - -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 */