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