Changeset 8d2e251 in mainline for uspace/lib/usbhost/src


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/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/ddf_helpers.c

    rc01987c r8d2e251  
    3434 */
    3535
    36 #include <usb_iface.h>
    3736#include <usb/classes/classes.h>
    3837#include <usb/debug.h>
    3938#include <usb/descriptor.h>
    4039#include <usb/request.h>
     40#include <usb/usb.h>
     41
     42#include <adt/list.h>
     43#include <assert.h>
     44#include <async.h>
     45#include <ddf/driver.h>
     46#include <ddf/interrupt.h>
     47#include <device/hw_res_parsed.h>
    4148#include <devman.h>
    4249#include <errno.h>
     50#include <fibril_synch.h>
     51#include <stdio.h>
     52#include <stdlib.h>
    4353#include <str_error.h>
     54#include <usb_iface.h>
    4455
    4556#include "ddf_helpers.h"
  • uspace/lib/usbhost/src/endpoint.c

    rc01987c r8d2e251  
    3333 */
    3434
     35#include <usb/host/endpoint.h>
     36
    3537#include <assert.h>
    3638#include <stdlib.h>
    37 #include <errno.h>
    38 #include <usb/host/endpoint.h>
    3939
    4040/** Allocate ad initialize endpoint_t structure.
  • uspace/lib/usbhost/src/hcd.c

    rc01987c r8d2e251  
    3434 */
    3535
    36 #include <errno.h>
    37 #include <str_error.h>
    38 #include <usb_iface.h>
    3936#include <usb/debug.h>
    4037#include <usb/request.h>
     38
     39#include <assert.h>
     40#include <async.h>
     41#include <errno.h>
     42#include <usb_iface.h>
    4143
    4244#include "hcd.h"
  • uspace/lib/usbhost/src/usb_bus.c

    rc01987c r8d2e251  
    3333 */
    3434
    35 #include <stdbool.h>
     35#include <usb/host/usb_bus.h>
     36
    3637#include <assert.h>
    3738#include <errno.h>
    3839#include <macros.h>
    39 
    40 #include <usb/debug.h>
    41 #include <usb/host/usb_bus.h>
     40#include <stdbool.h>
     41
    4242
    4343/** Endpoint compare helper function.
  • uspace/lib/usbhost/src/usb_transfer_batch.c

    rc01987c r8d2e251  
    3232 * USB transfer transaction structures (implementation).
    3333 */
     34
     35#include <usb/host/usb_transfer_batch.h>
     36#include <usb/debug.h>
     37
     38#include <assert.h>
    3439#include <errno.h>
    3540#include <macros.h>
    36 
    37 #include <usb/usb.h>
    38 #include <usb/debug.h>
    39 
    40 #include <usb/host/usb_transfer_batch.h>
    41 #include <usb/host/hcd.h>
     41#include <mem.h>
     42#include <stdlib.h>
     43#include <usbhc_iface.h>
    4244
    4345/** Allocate and initialize usb_transfer_batch structure.
Note: See TracChangeset for help on using the changeset viewer.