diff options
| author | guenther <> | 2017-08-12 22:59:52 +0000 |
|---|---|---|
| committer | guenther <> | 2017-08-12 22:59:52 +0000 |
| commit | a6e24060b68da4965823f1fafe89dd446c9fa398 (patch) | |
| tree | 43c68c562838d3d722c3c99e754c184941d5d496 /src/lib/libc/stdlib/exit.c | |
| parent | e9eb8358293ef72d4d0f8684144ee3422c424fc9 (diff) | |
| download | openbsd-a6e24060b68da4965823f1fafe89dd446c9fa398.tar.gz openbsd-a6e24060b68da4965823f1fafe89dd446c9fa398.tar.bz2 openbsd-a6e24060b68da4965823f1fafe89dd446c9fa398.zip | |
Minimize #includes, particularly to avoid thread_private.h
ok tedu@
Diffstat (limited to '')
| -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. |
