This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Move __on_exit



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]