summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2009-05-12 23:25:09 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2009-05-12 23:25:09 +0000
commit85cd3778c5fcb7b922f3dd1c0deb887fcfc4e3b1 (patch)
tree5a1a783393b5e9dbc505168c59ac365afe081dc0
parentdfd22c13631653548cdd19a2a4d9a2077c336fe7 (diff)
don't define _KERNEL. Theres no need and its gross.
-rw-r--r--sbin/mount/mount.c6
-rw-r--r--sbin/mount_nfs/mount_nfs.c4
2 files changed, 3 insertions, 7 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c
index 6f2ab5e6507..30eecb461d5 100644
--- a/sbin/mount/mount.c
+++ b/sbin/mount/mount.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount.c,v 1.48 2007/11/17 17:18:32 krw Exp $ */
+/* $OpenBSD: mount.c,v 1.49 2009/05/12 23:25:08 thib Exp $ */
/* $NetBSD: mount.c,v 1.24 1995/11/18 03:34:29 cgd Exp $ */
/*
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)mount.c 8.19 (Berkeley) 4/19/94";
#else
-static char rcsid[] = "$OpenBSD: mount.c,v 1.48 2007/11/17 17:18:32 krw Exp $";
+static char rcsid[] = "$OpenBSD: mount.c,v 1.49 2009/05/12 23:25:08 thib Exp $";
#endif
#endif /* not lint */
@@ -51,9 +51,7 @@ static char rcsid[] = "$OpenBSD: mount.c,v 1.48 2007/11/17 17:18:32 krw Exp $";
#include <nfs/rpcv2.h>
#include <nfs/nfsproto.h>
-#define _KERNEL
#include <nfs/nfs.h>
-#undef _KERNEL
#include <err.h>
#include <errno.h>
diff --git a/sbin/mount_nfs/mount_nfs.c b/sbin/mount_nfs/mount_nfs.c
index 87d9c6962b0..fd5e4de9efa 100644
--- a/sbin/mount_nfs/mount_nfs.c
+++ b/sbin/mount_nfs/mount_nfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_nfs.c,v 1.47 2006/11/10 17:30:34 grunk Exp $ */
+/* $OpenBSD: mount_nfs.c,v 1.48 2009/05/12 23:25:08 thib Exp $ */
/* $NetBSD: mount_nfs.c,v 1.12.4.1 1996/05/25 22:48:05 fvdl Exp $ */
/*
@@ -60,9 +60,7 @@ static char rcsid[] = "$NetBSD: mount_nfs.c,v 1.12.4.1 1996/05/25 22:48:05 fvdl
#include <nfs/rpcv2.h>
#include <nfs/nfsproto.h>
-#define _KERNEL
#include <nfs/nfs.h>
-#undef _KERNEL
#include <arpa/inet.h>