Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern don't #include unnecessary headers.



details:   https://anonhg.NetBSD.org/src/rev/1ec0459cb8e9
branches:  trunk
changeset: 580059:1ec0459cb8e9
user:      yamt <yamt%NetBSD.org@localhost>
date:      Thu Apr 07 12:12:51 2005 +0000

description:
don't #include unnecessary headers.

diffstat:

 sys/kern/subr_blist.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r f877b3c456c9 -r 1ec0459cb8e9 sys/kern/subr_blist.c
--- a/sys/kern/subr_blist.c     Thu Apr 07 12:01:08 2005 +0000
+++ b/sys/kern/subr_blist.c     Thu Apr 07 12:12:51 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_blist.c,v 1.5 2005/04/06 13:09:10 yamt Exp $      */
+/*     $NetBSD: subr_blist.c,v 1.6 2005/04/07 12:12:51 yamt Exp $      */
 
 /*-
  * Copyright (c) 1998 Matthew Dillon.  All Rights Reserved.
@@ -86,7 +86,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_blist.c,v 1.5 2005/04/06 13:09:10 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_blist.c,v 1.6 2005/04/07 12:12:51 yamt Exp $");
 #if 0
 __FBSDID("$FreeBSD: src/sys/kern/subr_blist.c,v 1.17 2004/06/04 04:03:25 alc Exp $");
 #endif
@@ -95,11 +95,8 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
-#include <sys/lock.h>
-#include <sys/kernel.h>
 #include <sys/blist.h>
 #include <sys/malloc.h>
-#include <sys/proc.h>
 
 #else
 



Home | Main Index | Thread Index | Old Index