Author: obrien Date: Wed Jul 24 18:32:15 2013 New Revision: 253618 URL: http://svnweb.freebsd.org/changeset/base/253618
Log: per style(9): Kernel include files (i.e. sys/*.h) come first; normally, include <sys/types.h> OR <sys/param.h>, but not both. <sys/types.h> includes <sys/cdefs.h>, and it is okay to depend on that. Modified: head/sys/dev/usb/gadget/g_audio.c head/sys/dev/usb/gadget/g_keyboard.c head/sys/dev/usb/gadget/g_modem.c head/sys/dev/usb/gadget/g_mouse.c Modified: head/sys/dev/usb/gadget/g_audio.c ============================================================================== --- head/sys/dev/usb/gadget/g_audio.c Wed Jul 24 18:13:43 2013 (r253617) +++ head/sys/dev/usb/gadget/g_audio.c Wed Jul 24 18:32:15 2013 (r253618) @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /*- * Copyright (c) 2010 Hans Petter Selasky. All rights reserved. * @@ -30,11 +29,12 @@ * http://www.usb.org/developers/devclass_docs/termt10.pdf */ +#include <sys/param.h> +__FBSDID("$FreeBSD$"); + #include <sys/stdint.h> #include <sys/stddef.h> -#include <sys/param.h> #include <sys/queue.h> -#include <sys/types.h> #include <sys/systm.h> #include <sys/kernel.h> #include <sys/bus.h> Modified: head/sys/dev/usb/gadget/g_keyboard.c ============================================================================== --- head/sys/dev/usb/gadget/g_keyboard.c Wed Jul 24 18:13:43 2013 (r253617) +++ head/sys/dev/usb/gadget/g_keyboard.c Wed Jul 24 18:32:15 2013 (r253618) @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /*- * Copyright (c) 2010 Hans Petter Selasky. All rights reserved. * @@ -28,11 +27,12 @@ * HID spec: http://www.usb.org/developers/devclass_docs/HID1_11.pdf */ +#include <sys/param.h> +__FBSDID("$FreeBSD$"); + #include <sys/stdint.h> #include <sys/stddef.h> -#include <sys/param.h> #include <sys/queue.h> -#include <sys/types.h> #include <sys/systm.h> #include <sys/kernel.h> #include <sys/bus.h> Modified: head/sys/dev/usb/gadget/g_modem.c ============================================================================== --- head/sys/dev/usb/gadget/g_modem.c Wed Jul 24 18:13:43 2013 (r253617) +++ head/sys/dev/usb/gadget/g_modem.c Wed Jul 24 18:32:15 2013 (r253618) @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /*- * Copyright (c) 2010 Hans Petter Selasky. All rights reserved. * @@ -30,11 +29,12 @@ * http://www.usb.org/developers/devclass_docs/cdc_wmc10.zip */ +#include <sys/param.h> +__FBSDID("$FreeBSD$"); + #include <sys/stdint.h> #include <sys/stddef.h> -#include <sys/param.h> #include <sys/queue.h> -#include <sys/types.h> #include <sys/systm.h> #include <sys/kernel.h> #include <sys/bus.h> Modified: head/sys/dev/usb/gadget/g_mouse.c ============================================================================== --- head/sys/dev/usb/gadget/g_mouse.c Wed Jul 24 18:13:43 2013 (r253617) +++ head/sys/dev/usb/gadget/g_mouse.c Wed Jul 24 18:32:15 2013 (r253618) @@ -1,4 +1,3 @@ -/* $FreeBSD$ */ /*- * Copyright (c) 2010 Hans Petter Selasky. All rights reserved. * @@ -28,11 +27,12 @@ * HID spec: http://www.usb.org/developers/devclass_docs/HID1_11.pdf */ +#include <sys/param.h> +__FBSDID("$FreeBSD$"); + #include <sys/stdint.h> #include <sys/stddef.h> -#include <sys/param.h> #include <sys/queue.h> -#include <sys/types.h> #include <sys/systm.h> #include <sys/kernel.h> #include <sys/bus.h> _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"