From 2f8ee43fe458c92fe5603f2d3fc1203cdc723a27 Mon Sep 17 00:00:00 2001 From: guenther <> Date: Sat, 12 Aug 2017 22:59:52 +0000 Subject: [PATCH] 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(-) diff --git a/src/lib/libc/stdlib/abort.c b/src/lib/libc/stdlib/abort.c index 129a1735..6c22ecd2 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 #include +#include #include -#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 d30b91ed..e93d4313 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 -#include #include #include #include "atexit.h" -#include "thread_private.h" /* * This variable is zero until a process has created a thread.