Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/sys/kern No need to include files more t...



details:   https://anonhg.NetBSD.org/src/rev/ce1598e3c042
branches:  trunk
changeset: 781982:ce1598e3c042
user:      njoly <njoly%NetBSD.org@localhost>
date:      Thu Oct 11 08:01:23 2012 +0000

description:
No need to include files more than once.

diffstat:

 external/cddl/osnet/sys/kern/kobj.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r d8f6ea09e76c -r ce1598e3c042 external/cddl/osnet/sys/kern/kobj.c
--- a/external/cddl/osnet/sys/kern/kobj.c       Wed Oct 10 23:53:43 2012 +0000
+++ b/external/cddl/osnet/sys/kern/kobj.c       Thu Oct 11 08:01:23 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kobj.c,v 1.3 2012/04/26 23:34:09 christos Exp $        */
+/*     $NetBSD: kobj.c,v 1.4 2012/10/11 08:01:23 njoly Exp $   */
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -57,19 +57,17 @@
 
 #include <sys/cdefs.h>
 /* __FBSDID("$FreeBSD: src/sys/compat/opensolaris/kern/opensolaris_kobj.c,v 1.4 2007/05/31 11:51:49 kib Exp $"); */
-__KERNEL_RCSID(0, "$NetBSD: kobj.c,v 1.3 2012/04/26 23:34:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kobj.c,v 1.4 2012/10/11 08:01:23 njoly Exp $");
 
 #include <sys/types.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
-#include <sys/systm.h>
 #include <sys/kthread.h>
 #include <sys/namei.h>
 #include <sys/proc.h>
 #include <sys/filedesc.h>
 #include <sys/fcntl.h>
 #include <sys/kobj.h>
-#include <sys/namei.h>
 
 void
 kobj_free(void *address, size_t size)



Home | Main Index | Thread Index | Old Index