diff options
author | Chris Dickens <christopher.a.dickens@gmail.com> | 2020-01-22 15:53:17 -0800 |
---|---|---|
committer | Chris Dickens <christopher.a.dickens@gmail.com> | 2020-01-24 11:21:27 -0800 |
commit | aaff15d48d1b8555aabf012b06bf39bf8aa4768a (patch) | |
tree | 1eebfa64f672df87806852b00afb2b924b4b5eae /libusb/hotplug.h | |
parent | 325e5ac8ddf2cb100a47e39185bc9f134d3b2f98 (diff) | |
download | libusb-aaff15d48d1b8555aabf012b06bf39bf8aa4768a.tar.gz |
Misc: Trim and consolidate header file usage
Refactor libusbi.h to include the set of common header files needed by
every main source file in the library and change these source files to
include libusbi.h first, followed by any non-common headers. Including
libusbi.h first ensures that the config definitions are pulled in and
will eliminate redundant includes in the individual sources files.
Also clean up some whitespace errors and remove unnecessary definitions
in the manually generated config.h files.
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'libusb/hotplug.h')
-rw-r--r-- | libusb/hotplug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libusb/hotplug.h b/libusb/hotplug.h index 75b2695..4335fbe 100644 --- a/libusb/hotplug.h +++ b/libusb/hotplug.h @@ -92,8 +92,8 @@ struct libusb_hotplug_message { void usbi_hotplug_deregister(struct libusb_context *ctx, int forced); void usbi_hotplug_match(struct libusb_context *ctx, struct libusb_device *dev, - libusb_hotplug_event event); + libusb_hotplug_event event); void usbi_hotplug_notification(struct libusb_context *ctx, struct libusb_device *dev, - libusb_hotplug_event event); + libusb_hotplug_event event); #endif |