summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/atexit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/atexit.h')
-rw-r--r--src/lib/libc/stdlib/atexit.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/libc/stdlib/atexit.h b/src/lib/libc/stdlib/atexit.h
index c44005deda..3de2aa3bf6 100644
--- a/src/lib/libc/stdlib/atexit.h
+++ b/src/lib/libc/stdlib/atexit.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: atexit.h,v 1.8 2013/06/02 21:08:36 matthew Exp $ */ 1/* $OpenBSD: atexit.h,v 1.9 2014/06/18 19:01:10 kettenis Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2002 Daniel Hartmeier 4 * Copyright (c) 2002 Daniel Hartmeier
@@ -35,10 +35,7 @@ struct atexit {
35 int ind; /* next index in this table */ 35 int ind; /* next index in this table */
36 int max; /* max entries >= ATEXIT_SIZE */ 36 int max; /* max entries >= ATEXIT_SIZE */
37 struct atexit_fn { 37 struct atexit_fn {
38 union { 38 void (*fn_ptr)(void *);
39 void (*std_func)(void);
40 void (*cxa_func)(void *);
41 } fn_ptr;
42 void *fn_arg; /* argument for CXA callback */ 39 void *fn_arg; /* argument for CXA callback */
43 void *fn_dso; /* shared module handle */ 40 void *fn_dso; /* shared module handle */
44 } fns[1]; /* the table itself */ 41 } fns[1]; /* the table itself */