Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/ndis Fix build of ndiscvt(8). Not sure what broke...



details:   https://anonhg.NetBSD.org/src/rev/06d279da9169
branches:  trunk
changeset: 761255:06d279da9169
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Jan 22 12:06:51 2011 +0000

description:
Fix build of ndiscvt(8). Not sure what broke it in the first place.

diffstat:

 sys/compat/ndis/nbcompat.h |  4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diffs (15 lines):

diff -r 86af435a018b -r 06d279da9169 sys/compat/ndis/nbcompat.h
--- a/sys/compat/ndis/nbcompat.h        Sat Jan 22 10:58:44 2011 +0000
+++ b/sys/compat/ndis/nbcompat.h        Sat Jan 22 12:06:51 2011 +0000
@@ -6,11 +6,7 @@
 #include <sys/cdefs.h>
 #include <sys/queue.h>
 #include <sys/mutex.h>
-#ifdef _KERNEL
 #include <sys/device.h>
-#else
-typedef struct device *device_t;
-#endif
 
 #define CTLFLAG_RW                     CTLFLAG_READWRITE
 



Home | Main Index | Thread Index | Old Index