summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-11 19:25:07 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-11 19:25:07 +0000
commit3bbddbe4a37ebd5e015fea42065db59966444224 (patch)
tree7d9e9a7f89c1bac0b241980aed9cd7de61d26764 /include
parentbeb5387cf656c281f9cc81d6a04f1085fe534c9a (diff)
downloadglibc-3bbddbe4a37ebd5e015fea42065db59966444224.tar.gz
glibc-3bbddbe4a37ebd5e015fea42065db59966444224.tar.xz
glibc-3bbddbe4a37ebd5e015fea42065db59966444224.zip
Update.
2001-01-11  Ulrich Drepper  <drepper@redhat.com>

	* stdlib/Makefile (routines): Add cxa_on_exit.
	* stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
	* stdlib/cxa_on_exit.c: New file.
	* include/stdlib.h: Add prototype for __cxa_on_exit.
	* stdlib/exit.c: Handle ef_cxa2.
	* stdlib/exit.h (enum): Add ef_cxa2.
	(struct exit_function): Add cxa2.

	* Versions.def [ld]: Add GLIBC_2.2.1.
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index d3c8779fcd..9f68d4d631 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -55,6 +55,7 @@ extern void _quicksort (void *const pbase, size_t total_elems,
 			size_t size, __compar_fn_t cmp);
 
 extern int __cxa_atexit (void (*func) (void *), void *arg, void *d);
+extern int __cxa_on_exit (void (*func) (int, void *), void *arg, void *d);
 
 extern void __cxa_finalize (void *d);