From 5ba659ad744cb6a4bab19f260e7ae9033a468660 Mon Sep 17 00:00:00 2001
From: guenther <>
Date: Sat, 12 Aug 2017 22:59:52 +0000
Subject: Minimize #includes, particularly to avoid thread_private.h

ok tedu@
---
 src/lib/libc/stdlib/abort.c | 5 ++---
 src/lib/libc/stdlib/exit.c  | 5 +----
 2 files changed, 3 insertions(+), 7 deletions(-)

(limited to 'src')

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 @@
-/*	$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
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 @@
-/*	$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.
-- 
cgit v1.2.3-55-g6feb