summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/exit.c
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2005-09-12 13:46:32 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2005-09-12 13:46:32 +0000
commit2ba64027bcd11ef6c7d378302a64491ea70cde91 (patch)
tree1802ab3510e718e6985f6769048767b9b8cf797a /lib/libc/stdlib/exit.c
parent8621e8a737a4f97843e400f6659340323f3a3458 (diff)
Notes
Diffstat (limited to 'lib/libc/stdlib/exit.c')
-rw-r--r--lib/libc/stdlib/exit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdlib/exit.c b/lib/libc/stdlib/exit.c
index 83abdbd5d506..cafb127eeea9 100644
--- a/lib/libc/stdlib/exit.c
+++ b/lib/libc/stdlib/exit.c
@@ -41,9 +41,11 @@ __FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <unistd.h>
#include "un-namespace.h"
+
#include "atexit.h"
+#include "libc_private.h"
-void (*__cleanup)();
+void (*__cleanup)(void);
/*
* This variable is zero until a process has created a thread.