Source-Changes-HG archive

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

[src/trunk]: src/sys/kern This is using device_t, so it needs to include <sys...



details:   https://anonhg.NetBSD.org/src/rev/3e6575d91157
branches:  trunk
changeset: 751293:3e6575d91157
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Jan 31 09:27:40 2010 +0000

description:
This is using device_t, so it needs to include <sys/device.h>.

diffstat:

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

diffs (24 lines):

diff -r ea08b9b29ae3 -r 3e6575d91157 sys/kern/kern_hook.c
--- a/sys/kern/kern_hook.c      Sun Jan 31 09:20:31 2010 +0000
+++ b/sys/kern/kern_hook.c      Sun Jan 31 09:27:40 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_hook.c,v 1.2 2010/01/31 02:04:43 pooka Exp $      */
+/*     $NetBSD: kern_hook.c,v 1.3 2010/01/31 09:27:40 martin Exp $     */
 
 /*-
  * Copyright (c) 1997, 1998, 1999, 2002, 2007, 2008 The NetBSD Foundation, Inc.
@@ -31,12 +31,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_hook.c,v 1.2 2010/01/31 02:04:43 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_hook.c,v 1.3 2010/01/31 09:27:40 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/malloc.h>
 #include <sys/rwlock.h>
 #include <sys/systm.h>
+#include <sys/device.h>
 
 /*
  * A generic linear hook.



Home | Main Index | Thread Index | Old Index