From f3cba95c5b852922b877924c58c67846c19aac27 Mon Sep 17 00:00:00 2001 From: "Wojciech A. Koszek" Date: Sat, 13 Feb 2010 09:45:50 +0000 Subject: [PATCH] Resort includes to match style(9) a bit more. No functional change is expected after this commit. Tested by: make buildworld Reviewed by: hps (patch without .h changes) --- lib/libusb/libusb.h | 2 -- lib/libusb/libusb10.c | 15 ++++++++------- lib/libusb/libusb10_desc.c | 5 +++-- lib/libusb/libusb10_io.c | 11 ++++++----- lib/libusb/libusb20.c | 7 ++++--- lib/libusb/libusb20.h | 10 +++++----- lib/libusb/libusb20_compat01.c | 4 ++-- lib/libusb/libusb20_desc.c | 3 ++- lib/libusb/libusb20_ugen20.c | 6 +++--- lib/libusb/usb.h | 5 +++-- 10 files changed, 36 insertions(+), 32 deletions(-) diff --git a/lib/libusb/libusb.h b/lib/libusb/libusb.h index 7981862ae5c7..03f03e49de3e 100644 --- a/lib/libusb/libusb.h +++ b/lib/libusb/libusb.h @@ -30,8 +30,6 @@ #include #include - - #ifdef __cplusplus extern "C" { #endif diff --git a/lib/libusb/libusb10.c b/lib/libusb/libusb10.c index 7e9e88513e5d..9f14eaadfacd 100644 --- a/lib/libusb/libusb10.c +++ b/lib/libusb/libusb10.c @@ -25,16 +25,17 @@ * SUCH DAMAGE. */ +#include +#include +#include + #include -#include -#include -#include +#include #include #include -#include -#include -#include -#include +#include +#include +#include #include "libusb20.h" #include "libusb20_desc.h" diff --git a/lib/libusb/libusb10_desc.c b/lib/libusb/libusb10_desc.c index 18a8a8b86bc3..2e9bc203c5d7 100644 --- a/lib/libusb/libusb10_desc.c +++ b/lib/libusb/libusb10_desc.c @@ -24,10 +24,11 @@ * SUCH DAMAGE. */ -#include -#include #include +#include +#include + #include "libusb20.h" #include "libusb20_desc.h" #include "libusb20_int.h" diff --git a/lib/libusb/libusb10_io.c b/lib/libusb/libusb10_io.c index 119132e42468..47a1b6833e8e 100644 --- a/lib/libusb/libusb10_io.c +++ b/lib/libusb/libusb10_io.c @@ -24,14 +24,15 @@ * SUCH DAMAGE. */ -#include -#include -#include +#include + +#include #include #include +#include +#include #include -#include -#include +#include #include "libusb20.h" #include "libusb20_desc.h" diff --git a/lib/libusb/libusb20.c b/lib/libusb/libusb20.c index e181b49d24eb..3efa9c704841 100644 --- a/lib/libusb/libusb20.c +++ b/lib/libusb/libusb20.c @@ -24,12 +24,13 @@ * SUCH DAMAGE. */ +#include + +#include +#include #include #include #include -#include -#include -#include #include "libusb20.h" #include "libusb20_desc.h" diff --git a/lib/libusb/libusb20.h b/lib/libusb/libusb20.h index 6b253aa559a2..d16c6a628ea6 100644 --- a/lib/libusb/libusb20.h +++ b/lib/libusb/libusb20.h @@ -29,13 +29,13 @@ #ifndef _LIBUSB20_H_ #define _LIBUSB20_H_ -#include -#include -#include - +#include #include #include -#include + +#include +#include +#include #ifdef __cplusplus extern "C" { diff --git a/lib/libusb/libusb20_compat01.c b/lib/libusb/libusb20_compat01.c index 2fbbae7accf3..b4f476b7a56c 100644 --- a/lib/libusb/libusb20_compat01.c +++ b/lib/libusb/libusb20_compat01.c @@ -30,9 +30,9 @@ #include -#include -#include #include +#include +#include #include "libusb20.h" #include "libusb20_desc.h" diff --git a/lib/libusb/libusb20_desc.c b/lib/libusb/libusb20_desc.c index 7d462a6e946e..5ee61b272ad7 100644 --- a/lib/libusb/libusb20_desc.c +++ b/lib/libusb/libusb20_desc.c @@ -24,10 +24,11 @@ * SUCH DAMAGE. */ +#include + #include #include #include -#include #include "libusb20.h" #include "libusb20_desc.h" diff --git a/lib/libusb/libusb20_ugen20.c b/lib/libusb/libusb20_ugen20.c index 76e96d55df36..73daa4099a69 100644 --- a/lib/libusb/libusb20_ugen20.c +++ b/lib/libusb/libusb20_ugen20.c @@ -27,12 +27,12 @@ #include #include +#include +#include #include #include -#include #include -#include -#include +#include #include "libusb20.h" #include "libusb20_desc.h" diff --git a/lib/libusb/usb.h b/lib/libusb/usb.h index 5d9c603af5a0..a29f48d47349 100644 --- a/lib/libusb/usb.h +++ b/lib/libusb/usb.h @@ -27,9 +27,10 @@ #ifndef _LIBUSB20_COMPAT_01_H_ #define _LIBUSB20_COMPAT_01_H_ -#include -#include #include +#include + +#include /* USB interface class codes */