about summary refs log tree commit diff
path: root/stdlib/exit.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/exit.h')
-rw-r--r--stdlib/exit.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/stdlib/exit.h b/stdlib/exit.h
index 9b6c1c3d4e..66819dd045 100644
--- a/stdlib/exit.h
+++ b/stdlib/exit.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1996, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1996, 1997, 1999, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -26,7 +26,8 @@ enum
   ef_us,
   ef_on,
   ef_at,
-  ef_cxa
+  ef_cxa,
+  ef_cxa2
 };
 
 struct exit_function
@@ -48,6 +49,12 @@ struct exit_function
 	    void *arg;
 	    void *dso_handle;
 	  } cxa;
+	struct
+	  {
+	    void (*fn) (int status, void *arg);
+	    void *arg;
+	    void *dso_handle;
+	  } cxa2;
       } func;
   };
 struct exit_function_list