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/abort.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/abort.c')
-rw-r--r-- | src/lib/libc/stdlib/abort.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/abort.c b/src/lib/libc/stdlib/abort.c index 129a1735f3..6c22ecd2b0 100644 --- a/src/lib/libc/stdlib/abort.c +++ b/src/lib/libc/stdlib/abort.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: abort.c,v 1.20 2015/10/25 04:13:59 guenther Exp $ */ | 1 | /* $OpenBSD: abort.c,v 1.21 2017/08/12 22:59:52 guenther Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1985 Regents of the University of California. | 3 | * Copyright (c) 1985 Regents of the University of California. |
4 | * All rights reserved. | 4 | * All rights reserved. |
@@ -30,9 +30,8 @@ | |||
30 | 30 | ||
31 | #include <signal.h> | 31 | #include <signal.h> |
32 | #include <stdlib.h> | 32 | #include <stdlib.h> |
33 | #include <string.h> | ||
33 | #include <unistd.h> | 34 | #include <unistd.h> |
34 | #include "thread_private.h" | ||
35 | #include "atexit.h" | ||
36 | 35 | ||
37 | 36 | ||
38 | void | 37 | void |