summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/gen/getlogin.c4
-rw-r--r--lib/libc/gen/rewinddir.c4
-rw-r--r--lib/libc/stdlib/abort.c5
-rw-r--r--lib/libc/stdlib/exit.c5
4 files changed, 5 insertions, 13 deletions
diff --git a/lib/libc/gen/getlogin.c b/lib/libc/gen/getlogin.c
index c6072f1f86f..923306269fb 100644
--- a/lib/libc/gen/getlogin.c
+++ b/lib/libc/gen/getlogin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getlogin.c,v 1.14 2016/03/30 07:52:47 guenther Exp $ */
+/* $OpenBSD: getlogin.c,v 1.15 2017/08/12 22:59:52 guenther Exp $ */
/*
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
@@ -30,10 +30,8 @@
#include <errno.h>
#include <limits.h>
-#include <string.h>
#include <unistd.h>
-#include "thread_private.h"
static char logname[LOGIN_NAME_MAX];
diff --git a/lib/libc/gen/rewinddir.c b/lib/libc/gen/rewinddir.c
index 49e7a435cee..dfd2308db6d 100644
--- a/lib/libc/gen/rewinddir.c
+++ b/lib/libc/gen/rewinddir.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rewinddir.c,v 1.11 2013/11/05 20:36:51 schwarze Exp $ */
+/* $OpenBSD: rewinddir.c,v 1.12 2017/08/12 22:59:52 guenther Exp $ */
/*
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -29,8 +29,6 @@
*/
#include <dirent.h>
-#include "thread_private.h"
-#include "telldir.h"
void
rewinddir(DIR *dirp)
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
diff --git a/lib/libc/stdlib/exit.c b/lib/libc/stdlib/exit.c
index d30b91ed46a..e93d4313e36 100644
--- a/lib/libc/stdlib/exit.c
+++ b/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.