Move __on_exit
Andreas Jaeger
aj@suse.de
Tue Feb 6 00:48:00 GMT 2001
Ok to commit?
Andreas
2001-02-06 Andreas Jaeger <aj@suse.de>
* stdlib/stdlib.h: Move __on_exit from here to...
* include/stdlib.h: ...here.
============================================================
Index: include/stdlib.h
--- include/stdlib.h 2001/01/27 08:20:58 1.19
+++ include/stdlib.h 2001/02/06 08:47:08
@@ -54,6 +54,8 @@
extern void _quicksort (void *const pbase, size_t total_elems,
size_t size, __compar_fn_t cmp);
+extern int __on_exit (void (*__func) (int __status, void *__arg), void *__arg);
+
extern int __cxa_atexit (void (*func) (void *), void *arg, void *d);
extern void __cxa_finalize (void *d);
============================================================
Index: stdlib/stdlib.h
--- stdlib/stdlib.h 2001/01/27 07:05:36 1.93
+++ stdlib/stdlib.h 2001/02/06 08:47:08
@@ -568,8 +568,6 @@
#ifdef __USE_MISC
/* Register a function to be called with the status
given to `exit' and the given argument. */
-extern int __on_exit (void (*__func) (int __status, void *__arg), void *__arg)
- __THROW;
extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
__THROW;
#endif
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-hacker
mailing list