summaryrefslogtreecommitdiffstats
path: root/sys/tools
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-06 23:33:39 +0000
committerbde <bde@FreeBSD.org>1995-12-06 23:33:39 +0000
commit5c21be3db61afd50ed566e27766924c89299c59f (patch)
tree892fe271d7fb3f4d5f3b7ba7f5106dd1614db6f2 /sys/tools
parent966760513208d5f4b765a6f23b6813f37d0abd21 (diff)
downloadFreeBSD-src-5c21be3db61afd50ed566e27766924c89299c59f.zip
FreeBSD-src-5c21be3db61afd50ed566e27766924c89299c59f.tar.gz
Don't #include vm stuff in vnode_if.[ch]. Enough vm stuff (a
single typedef) is now declared in <sys/types.h>. This is the first of 4 commits that will remove some excessive includes of vm*.h and user.h. The total speed improvement isn't as large as I first thought. `make depend; make' for LINT only improved from 2180 seconds to 2108 seconds user time.
Diffstat (limited to 'sys/tools')
-rw-r--r--sys/tools/vnode_if.awk7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/tools/vnode_if.awk b/sys/tools/vnode_if.awk
index 6994f22..11c9ea1 100644
--- a/sys/tools/vnode_if.awk
+++ b/sys/tools/vnode_if.awk
@@ -32,7 +32,7 @@
# SUCH DAMAGE.
#
# @(#)vnode_if.sh 8.1 (Berkeley) 6/10/93
-# $Id: vnode_if.sh,v 1.6 1995/09/11 16:05:16 bde Exp $
+# $Id: vnode_if.sh,v 1.7 1995/10/29 15:31:27 phk Exp $
#
# Script to produce VFS front-end sugar.
@@ -71,9 +71,6 @@ cat << END_OF_LEADING_COMMENT > $HEADER
*/
extern struct vnodeop_desc vop_default_desc;
-
-#include <vm/vm.h>
-#include <vm/vm_page.h>
END_OF_LEADING_COMMENT
# Awk script to take vnode_if.src and turn it into vnode_if.h.
@@ -190,8 +187,6 @@ cat << END_OF_LEADING_COMMENT > $CFILE
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/vnode.h>
-#include <vm/vm.h>
-#include <vm/vm_page.h>
struct vnodeop_desc vop_default_desc = {
0,
OpenPOWER on IntegriCloud