diff options
Diffstat (limited to 'com32/lib/onexit.c')
-rw-r--r-- | com32/lib/onexit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/com32/lib/onexit.c b/com32/lib/onexit.c index d409e82e..272f8f1c 100644 --- a/com32/lib/onexit.c +++ b/com32/lib/onexit.c @@ -6,7 +6,6 @@ #include <unistd.h> #include "atexit.h" -extern __noreturn(*__exit_handler) (int); static struct atexit *__atexit_list; static __noreturn on_exit_exit(int rv) @@ -33,7 +32,5 @@ int on_exit(void (*fctn) (int, void *), void *arg) as->next = __atexit_list; __atexit_list = as; - __exit_handler = on_exit_exit; - return 0; } |