diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-01-12 07:29:55 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-01-12 07:29:55 +0000 |
commit | 5ef50d00ded8bb0934c2aef6c9f06acf23f66cb7 (patch) | |
tree | 20f76d7169cf0550d4224e7a2b62aba4943bc4c1 /stdlib/exit.c | |
parent | 7e36861e77d7edde557ebf1172271e922c9a51ff (diff) | |
download | glibc-5ef50d00ded8bb0934c2aef6c9f06acf23f66cb7.zip glibc-5ef50d00ded8bb0934c2aef6c9f06acf23f66cb7.tar.gz glibc-5ef50d00ded8bb0934c2aef6c9f06acf23f66cb7.tar.bz2 |
Update.
2001-01-11 Jakub Jelinek <jakub@redhat.com>
* stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
* stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
* stdlib/cxa_on_exit.c: Remove.
* stdlib/Makefile: Revert last patch.
* stdlib/Versions: Likewise.
* include/stdlib.h: Likewise.
* stdlib/exit.h: Revert last patch.
(struct exit_function): Add second argument to cxa fn.
* stdlib/exit.c: Revert last patch.
(exit): Add hidden second argument.
Diffstat (limited to 'stdlib/exit.c')
-rw-r--r-- | stdlib/exit.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/stdlib/exit.c b/stdlib/exit.c index 5714999..b2ebe5f 100644 --- a/stdlib/exit.c +++ b/stdlib/exit.c @@ -57,10 +57,7 @@ exit (int status) (*f->func.at) (); break; case ef_cxa: - (*f->func.cxa.fn) (f->func.cxa.arg); - break; - case ef_cxa2: - (*f->func.cxa2.fn) (status, f->func.cxa2.arg); + (*f->func.cxa.fn) (f->func.cxa.arg, status); break; } } |