summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/exit.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-08-12 22:59:53 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-08-12 22:59:53 +0000
commite94851480bfbdfb3d5bf0e12b3ffbc769f9a2c4d (patch)
tree77c495c80088954d3c49dada31284867ea6bab43 /lib/libc/stdlib/exit.c
parenta5dda30ffa010ea14c3e524b5aaef441c00a555d (diff)
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.