Module Name: src Committed By: martin Date: Sun Jan 31 09:27:41 UTC 2010
Modified Files: src/sys/kern: kern_hook.c Log Message: This is using device_t, so it needs to include <sys/device.h>. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/kern/kern_hook.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/kern_hook.c diff -u src/sys/kern/kern_hook.c:1.2 src/sys/kern/kern_hook.c:1.3 --- src/sys/kern/kern_hook.c:1.2 Sun Jan 31 02:04:43 2010 +++ src/sys/kern/kern_hook.c Sun Jan 31 09:27:40 2010 @@ -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.