diff options
Diffstat (limited to 'stdlib/exit.h')
-rw-r--r-- | stdlib/exit.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/stdlib/exit.h b/stdlib/exit.h index 66819dd045..2b52dc5f7e 100644 --- a/stdlib/exit.h +++ b/stdlib/exit.h @@ -26,8 +26,7 @@ enum ef_us, ef_on, ef_at, - ef_cxa, - ef_cxa2 + ef_cxa }; struct exit_function @@ -45,16 +44,10 @@ struct exit_function } on; struct { - void (*fn) (void *arg); + void (*fn) (void *arg, int status); void *arg; void *dso_handle; } cxa; - struct - { - void (*fn) (int status, void *arg); - void *arg; - void *dso_handle; - } cxa2; } func; }; struct exit_function_list |