diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-15 07:30:19 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-15 07:30:19 +0000 |
commit | 442d2ce97ccd42d6a0909e4009404726bd10bc3b (patch) | |
tree | 096ba676a960e933daad5bf2c67c726d45acdf0b /libstdc++-v3 | |
parent | e5d5867a4a29c235858ef8314a18ab5b711301a2 (diff) | |
download | gcc-442d2ce97ccd42d6a0909e4009404726bd10bc3b.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35693 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/libio/cleanup.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libstdc++-v3/libio/cleanup.c b/libstdc++-v3/libio/cleanup.c deleted file mode 100644 index 691fa838b26..00000000000 --- a/libstdc++-v3/libio/cleanup.c +++ /dev/null @@ -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 */ |