Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Fix include order.



details:   https://anonhg.NetBSD.org/src/rev/9f54a0786f62
branches:  trunk
changeset: 328951:9f54a0786f62
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Apr 25 18:07:29 2014 +0000

description:
Fix include order.

diffstat:

 sys/dev/usb/uatp.c |  12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diffs (36 lines):

diff -r b1242821a828 -r 9f54a0786f62 sys/dev/usb/uatp.c
--- a/sys/dev/usb/uatp.c        Fri Apr 25 18:04:45 2014 +0000
+++ b/sys/dev/usb/uatp.c        Fri Apr 25 18:07:29 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uatp.c,v 1.5 2014/02/25 18:30:10 pooka Exp $   */
+/*     $NetBSD: uatp.c,v 1.6 2014/04/25 18:07:29 riastradh Exp $       */
 
 /*-
  * Copyright (c) 2011, 2012 Taylor R. Campbell
@@ -143,22 +143,20 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uatp.c,v 1.5 2014/02/25 18:30:10 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uatp.c,v 1.6 2014/04/25 18:07:29 riastradh Exp $");
 
+#include <sys/types.h>
+#include <sys/param.h>
 #include <sys/atomic.h>
 #include <sys/device.h>
 #include <sys/errno.h>
 #include <sys/ioctl.h>
-#include <sys/param.h>
+#include <sys/kernel.h>
 #include <sys/sysctl.h>
 #include <sys/systm.h>
 #include <sys/time.h>
-#include <sys/types.h>
 #include <sys/workqueue.h>
 
-/* WTF?  */
-extern int hz;
-
 /* Order is important here...sigh...  */
 #include <dev/usb/usb.h>
 #include <dev/usb/usbdi.h>



Home | Main Index | Thread Index | Old Index