diff options
author | guenther <> | 2017-08-12 22:59:52 +0000 |
---|---|---|
committer | guenther <> | 2017-08-12 22:59:52 +0000 |
commit | 5ba659ad744cb6a4bab19f260e7ae9033a468660 (patch) | |
tree | 43c68c562838d3d722c3c99e754c184941d5d496 /src/lib/libc/stdlib/exit.c | |
parent | 4f5399c5c0671a2e79afef156ad57c0d29cb3e9f (diff) | |
download | openbsd-5ba659ad744cb6a4bab19f260e7ae9033a468660.tar.gz openbsd-5ba659ad744cb6a4bab19f260e7ae9033a468660.tar.bz2 openbsd-5ba659ad744cb6a4bab19f260e7ae9033a468660.zip |
Minimize #includes, particularly to avoid thread_private.h
ok tedu@
Diffstat (limited to 'src/lib/libc/stdlib/exit.c')
-rw-r--r-- | src/lib/libc/stdlib/exit.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/exit.c b/src/lib/libc/stdlib/exit.c index d30b91ed46..e93d4313e3 100644 --- a/src/lib/libc/stdlib/exit.c +++ b/src/lib/libc/stdlib/exit.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: exit.c,v 1.13 2015/09/13 08:31:47 guenther Exp $ */ | 1 | /* $OpenBSD: exit.c,v 1.14 2017/08/12 22:59:52 guenther Exp $ */ |
2 | /*- | 2 | /*- |
3 | * Copyright (c) 1990 The Regents of the University of California. | 3 | * Copyright (c) 1990 The Regents of the University of California. |
4 | * All rights reserved. | 4 | * All rights reserved. |
@@ -28,12 +28,9 @@ | |||
28 | * SUCH DAMAGE. | 28 | * SUCH DAMAGE. |
29 | */ | 29 | */ |
30 | 30 | ||
31 | #include <sys/types.h> | ||
32 | #include <sys/mman.h> | ||
33 | #include <stdlib.h> | 31 | #include <stdlib.h> |
34 | #include <unistd.h> | 32 | #include <unistd.h> |
35 | #include "atexit.h" | 33 | #include "atexit.h" |
36 | #include "thread_private.h" | ||
37 | 34 | ||
38 | /* | 35 | /* |
39 | * This variable is zero until a process has created a thread. | 36 | * This variable is zero until a process has created a thread. |