summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1997-03-25 20:30:41 +0000
committerniklas <niklas@openbsd.org>1997-03-25 20:30:41 +0000
commitb7a1a5dd5e2e7199682b72c7fefcc0e8298d8d66 (patch)
tree16818fbc300b2930ea051569d3a285e589f17910
parentmove the .; enami@ba2.so-net.or.jp (diff)
downloadwireguard-openbsd-b7a1a5dd5e2e7199682b72c7fefcc0e8298d8d66.tar.xz
wireguard-openbsd-b7a1a5dd5e2e7199682b72c7fefcc0e8298d8d66.zip
Get rid of userland includes
-rw-r--r--sys/lib/libsa/exec.c5
-rw-r--r--sys/lib/libsa/nfs.c3
-rw-r--r--sys/lib/libsa/ufs.c4
-rw-r--r--sys/lib/libsa/unixdev.c8
4 files changed, 7 insertions, 13 deletions
diff --git a/sys/lib/libsa/exec.c b/sys/lib/libsa/exec.c
index aaeff0709bd..a86cbbd2b22 100644
--- a/sys/lib/libsa/exec.c
+++ b/sys/lib/libsa/exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.c,v 1.9 1997/02/05 11:14:24 downsj Exp $ */
+/* $OpenBSD: exec.c,v 1.10 1997/03/25 20:30:41 niklas Exp $ */
/* $NetBSD: exec.c,v 1.15 1996/10/13 02:29:01 christos Exp $ */
/*-
@@ -35,12 +35,11 @@
*/
#include <sys/param.h>
+#include <sys/exec.h>
#include <sys/reboot.h>
#ifndef INSECURE
#include <sys/stat.h>
#endif
-#include <a.out.h>
-#include <string.h>
#include "stand.h"
diff --git a/sys/lib/libsa/nfs.c b/sys/lib/libsa/nfs.c
index 9e266aa86e7..309afb4adc1 100644
--- a/sys/lib/libsa/nfs.c
+++ b/sys/lib/libsa/nfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs.c,v 1.7 1997/02/16 14:39:39 mickey Exp $ */
+/* $OpenBSD: nfs.c,v 1.8 1997/03/25 20:30:43 niklas Exp $ */
/* $NetBSD: nfs.c,v 1.19 1996/10/13 02:29:04 christos Exp $ */
/*-
@@ -33,7 +33,6 @@
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/stat.h>
-#include <string.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
diff --git a/sys/lib/libsa/ufs.c b/sys/lib/libsa/ufs.c
index dd41f56a9c9..4c6041e5d6e 100644
--- a/sys/lib/libsa/ufs.c
+++ b/sys/lib/libsa/ufs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ufs.c,v 1.9 1997/02/16 14:39:37 mickey Exp $ */
+/* $OpenBSD: ufs.c,v 1.10 1997/03/25 20:30:44 niklas Exp $ */
/* $NetBSD: ufs.c,v 1.16 1996/09/30 16:01:22 ws Exp $ */
/*-
@@ -75,8 +75,6 @@
#include <ufs/ufs/dir.h>
#include <lib/libkern/libkern.h>
-#include <string.h>
-
#include "stand.h"
/*
diff --git a/sys/lib/libsa/unixdev.c b/sys/lib/libsa/unixdev.c
index a74e16428f7..fdb7335cbe9 100644
--- a/sys/lib/libsa/unixdev.c
+++ b/sys/lib/libsa/unixdev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: unixdev.c,v 1.1 1997/02/16 14:51:58 mickey Exp $ */
+/* $OpenBSD: unixdev.c,v 1.2 1997/03/25 20:30:46 niklas Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff
@@ -34,11 +34,9 @@
#include <sys/param.h>
#include <sys/types.h>
+#include <sys/fcntl.h>
#include <sys/syscall.h>
-#include <string.h>
-#define open uopen
-#include <fcntl.h>
-#undef open
+
#include "libsa.h"
#include "unixdev.h"