Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Stop #including <dev/usb/usb_port.h>, this time ...



details:   https://anonhg.NetBSD.org/src/rev/e4da0a60a376
branches:  trunk
changeset: 747163:e4da0a60a376
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Fri Sep 04 16:54:32 2009 +0000

description:
Stop #including <dev/usb/usb_port.h>, this time more gracefully:
#include <dev/usb/usb.h>, instead.  We're certain to get all of
the #definitions we need that way.

diffstat:

 sys/dev/usb/ukbdmap.c |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (29 lines):

diff -r ab87e4f0fab3 -r e4da0a60a376 sys/dev/usb/ukbdmap.c
--- a/sys/dev/usb/ukbdmap.c     Fri Sep 04 16:52:24 2009 +0000
+++ b/sys/dev/usb/ukbdmap.c     Fri Sep 04 16:54:32 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ukbdmap.c,v 1.23 2009/09/04 16:52:24 dyoung Exp $      */
+/*     $NetBSD: ukbdmap.c,v 1.24 2009/09/04 16:54:32 dyoung Exp $      */
 
 /*
  * Copyright (c) 1999,2001 The NetBSD Foundation, Inc.
@@ -31,17 +31,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ukbdmap.c,v 1.23 2009/09/04 16:52:24 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ukbdmap.c,v 1.24 2009/09/04 16:54:32 dyoung Exp $");
 
 #include <sys/types.h>
 #include <dev/wscons/wsksymdef.h>
 #include <dev/wscons/wsksymvar.h>
 
-#ifdef USB_DEBUG
-#define Static
-#else
-#define Static static
-#endif
+#include <dev/usb/usb.h>
 
 #define KC(n)          KS_KEYCODE(n)
 



Home | Main Index | Thread Index | Old Index