summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/exit.c
diff options
context:
space:
mode:
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 83abdbd..cafb127 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.
OpenPOWER on IntegriCloud