summaryrefslogtreecommitdiff
path: root/src/nonstd/struct_atexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nonstd/struct_atexit.c')
-rw-r--r--src/nonstd/struct_atexit.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nonstd/struct_atexit.c b/src/nonstd/struct_atexit.c
new file mode 100644
index 00000000..482bbed1
--- /dev/null
+++ b/src/nonstd/struct_atexit.c
@@ -0,0 +1,8 @@
+#include <nonstd/internal.h>
+
+struct atexit {
+ int nfns;
+ void (*fns[32])(void);
+ struct atexit *next;
+ struct atexit *prev;
+};