From d4f4828ee09df5f10d6ad8703cec47e2a625cf98 Mon Sep 17 00:00:00 2001 From: dyoung Date: Mon, 11 Feb 2008 22:43:39 +0000 Subject: [PATCH] Do not #include from userland. --- usr.bin/kdump/mkioctls | 3 +-- usr.sbin/iopctl/iopctl.c | 5 ++--- usr.sbin/pstat/pstat.c | 5 ++--- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/usr.bin/kdump/mkioctls b/usr.bin/kdump/mkioctls index e0630ce9c8c1..9fab1dcb130e 100644 --- a/usr.bin/kdump/mkioctls +++ b/usr.bin/kdump/mkioctls @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: mkioctls,v 1.33 2007/06/29 16:39:51 dmcmahill Exp $ +# $NetBSD: mkioctls,v 1.34 2008/02/11 22:43:39 dyoung Exp $ # # Copyright (c) 1994 # The Regents of the University of California. All rights reserved. @@ -53,7 +53,6 @@ echo "#include " echo "#include " echo "#include " echo "#include " -echo "#include " echo "#include " echo "#include " echo "#include " diff --git a/usr.sbin/iopctl/iopctl.c b/usr.sbin/iopctl/iopctl.c index 9fc112b0db16..ca99cd2a8d21 100644 --- a/usr.sbin/iopctl/iopctl.c +++ b/usr.sbin/iopctl/iopctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: iopctl.c,v 1.15 2007/12/15 16:03:30 perry Exp $ */ +/* $NetBSD: iopctl.c,v 1.16 2008/02/11 22:45:03 dyoung Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -38,13 +38,12 @@ #ifndef lint #include -__RCSID("$NetBSD: iopctl.c,v 1.15 2007/12/15 16:03:30 perry Exp $"); +__RCSID("$NetBSD: iopctl.c,v 1.16 2008/02/11 22:45:03 dyoung Exp $"); #endif /* not lint */ #include #include #include -#include #include #include diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index 319e88d68653..f19a28c84f35 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -1,4 +1,4 @@ -/* $NetBSD: pstat.c,v 1.107 2008/02/11 15:22:43 ad Exp $ */ +/* $NetBSD: pstat.c,v 1.108 2008/02/11 22:45:03 dyoung Exp $ */ /*- * Copyright (c) 1980, 1991, 1993, 1994 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1991, 1993, 1994\n\ #if 0 static char sccsid[] = "@(#)pstat.c 8.16 (Berkeley) 5/9/95"; #else -__RCSID("$NetBSD: pstat.c,v 1.107 2008/02/11 15:22:43 ad Exp $"); +__RCSID("$NetBSD: pstat.c,v 1.108 2008/02/11 22:45:03 dyoung Exp $"); #endif #endif /* not lint */ @@ -65,7 +65,6 @@ __RCSID("$NetBSD: pstat.c,v 1.107 2008/02/11 15:22:43 ad Exp $"); #include #include #include -#include #include