aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@gcc.gnu.org>2000-08-15 07:30:19 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2000-08-15 07:30:19 +0000
commit9f34e6e805cd37bb4c095889eafa0949d1274cfa (patch)
tree096ba676a960e933daad5bf2c67c726d45acdf0b
parenteeb943b06c7a1052655ccb51cafe68b37140a6da (diff)
downloadgcc-9f34e6e805cd37bb4c095889eafa0949d1274cfa.zip
gcc-9f34e6e805cd37bb4c095889eafa0949d1274cfa.tar.gz
gcc-9f34e6e805cd37bb4c095889eafa0949d1274cfa.tar.bz2
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
-rw-r--r--libstdc++-v3/libio/cleanup.c17
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 691fa83..0000000
--- 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 */