Changeset 8d2e251 in mainline for uspace/lib/usbhost/include/usb


Ignore:
Timestamp:
2013-09-28T21:02:03Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8f1dd3b
Parents:
c01987c
Message:

libusbhost: Sanitize headers.

Include what you use.
https://code.google.com/p/include-what-you-use/

Location:
uspace/lib/usbhost/include/usb/host
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/include/usb/host/ddf_helpers.h

    rc01987c r8d2e251  
    3737#define LIBUSBHOST_HOST_DDF_HELPERS_H
    3838
     39#include <usb/host/hcd.h>
     40#include <usb/host/usb_bus.h>
     41#include <usb/usb.h>
     42
     43#include <ddf/driver.h>
    3944#include <ddf/interrupt.h>
    4045#include <device/hw_res_parsed.h>
    41 #include <usb/host/hcd.h>
    42 #include <usbhc_iface.h>
    4346
    4447int hcd_ddf_setup_hc(ddf_dev_t *device, usb_speed_t max_speed,
  • uspace/lib/usbhost/include/usb/host/hcd.h

    rc01987c r8d2e251  
    3737#define LIBUSBHOST_HOST_HCD_H
    3838
    39 #include <assert.h>
    40 #include <adt/list.h>
    41 #include <usbhc_iface.h>
    42 
     39#include <usb/host/endpoint.h>
    4340#include <usb/host/usb_bus.h>
    4441#include <usb/host/usb_transfer_batch.h>
     42#include <usb/usb.h>
     43
     44#include <assert.h>
     45#include <usbhc_iface.h>
     46#include <sys/types.h>
    4547
    4648typedef struct hcd hcd_t;
  • uspace/lib/usbhost/include/usb/host/usb_bus.h

    rc01987c r8d2e251  
    4040#define LIBUSBHOST_HOST_USB_ENDPOINT_MANAGER_H
    4141
     42#include <usb/host/endpoint.h>
     43#include <usb/usb.h>
     44
    4245#include <adt/list.h>
    4346#include <fibril_synch.h>
    44 #include <usb/usb.h>
     47#include <stdbool.h>
    4548
    46 #include <usb/host/endpoint.h>
    4749
    4850/** Bytes per second in FULL SPEED */
  • uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h

    rc01987c r8d2e251  
    3737#define LIBUSBHOST_HOST_USB_TRANSFER_BATCH_H
    3838
    39 #include <adt/list.h>
     39#include <usb/host/endpoint.h>
     40#include <usb/usb.h>
    4041
     42#include <assert.h>
     43#include <stdbool.h>
     44#include <sys/types.h>
    4145#include <usbhc_iface.h>
    42 #include <usb/usb.h>
    43 #include <usb/host/endpoint.h>
    4446
    4547#define USB_SETUP_PACKET_SIZE 8
Note: See TracChangeset for help on using the changeset viewer.