summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/atexit.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/atexit.h')
-rw-r--r--libc/stdlib/atexit.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/stdlib/atexit.h b/libc/stdlib/atexit.h
index 4b3e5ab..2e88ad6 100644
--- a/libc/stdlib/atexit.h
+++ b/libc/stdlib/atexit.h
@@ -37,10 +37,7 @@ struct atexit {
int ind; /* next index in this table */
int max; /* max entries >= ATEXIT_SIZE */
struct atexit_fn {
- union {
- void (*std_func)(void);
- void (*cxa_func)(void *);
- } fn_ptr;
+ void (*cxa_func)(void *);
void *fn_arg; /* argument for CXA callback */
void *fn_dso; /* shared module handle */
} fns[1]; /* the table itself */