summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/exit.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2017-08-12 22:59:52 +0000
committerguenther <guenther@openbsd.org>2017-08-12 22:59:52 +0000
commit0f9363ecc691a809441608e3e9fb5a9b5e6ffe3a (patch)
tree35e9ec1672b915f36606735e2fdc1fac92106ffc /lib/libc/stdlib/exit.c
parentIf the user running doas regress is not in the wobj group, switch (diff)
downloadwireguard-openbsd-0f9363ecc691a809441608e3e9fb5a9b5e6ffe3a.tar.xz
wireguard-openbsd-0f9363ecc691a809441608e3e9fb5a9b5e6ffe3a.zip
Minimize #includes, particularly to avoid thread_private.h
ok tedu@
Diffstat (limited to 'lib/libc/stdlib/exit.c')
-rw-r--r--lib/libc/stdlib/exit.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/stdlib/exit.c b/lib/libc/stdlib/exit.c
index d30b91ed46a..e93d4313e36 100644
--- a/lib/libc/stdlib/exit.c
+++ b/lib/libc/stdlib/exit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exit.c,v 1.13 2015/09/13 08:31:47 guenther Exp $ */
+/* $OpenBSD: exit.c,v 1.14 2017/08/12 22:59:52 guenther Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -28,12 +28,9 @@
* SUCH DAMAGE.
*/
-#include <sys/types.h>
-#include <sys/mman.h>
#include <stdlib.h>
#include <unistd.h>
#include "atexit.h"
-#include "thread_private.h"
/*
* This variable is zero until a process has created a thread.