diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-13 06:25:04 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-13 06:25:04 +0000 |
commit | deceb0ef8c95816511a4806f7754d4ef3c117786 (patch) | |
tree | 46c689fb1e600ada544f8c8977f3d41848d3f731 /sys/dev/usb/usbdivar.h | |
parent | c6b777bbf60e8aa42982d6ed8122f4bc9d13f414 (diff) |
Apply some KNF after the recent removal of macros and type definitions.
No binary change.
ok ray.
Diffstat (limited to 'sys/dev/usb/usbdivar.h')
-rw-r--r-- | sys/dev/usb/usbdivar.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h index 45c538e26d9..ded614dc4dc 100644 --- a/sys/dev/usb/usbdivar.h +++ b/sys/dev/usb/usbdivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: usbdivar.h,v 1.29 2007/06/12 16:26:37 mbalmer Exp $ */ +/* $OpenBSD: usbdivar.h,v 1.30 2007/06/13 06:25:03 mbalmer Exp $ */ /* $NetBSD: usbdivar.h,v 1.70 2002/07/11 21:14:36 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/usbdivar.h,v 1.11 1999/11/17 22:33:51 n_hibma Exp $ */ @@ -152,7 +152,7 @@ struct usbd_device { usb_config_descriptor_t *cdesc; /* full config descr */ const struct usbd_quirks *quirks; /* device quirks, always set */ struct usbd_hub *hub; /* only if this is a hub */ - struct device * *subdevs; /* sub-devices, 0 terminated */ + struct device **subdevs; /* sub-devices, 0 terminated */ }; struct usbd_interface { @@ -239,15 +239,12 @@ void usbd_dump_pipe(usbd_pipe_handle pipe); int usbctlprint(void *, const char *); void usb_delay_ms(usbd_bus_handle, u_int); usbd_status usbd_reset_port(usbd_device_handle dev, - int port, usb_port_status_t *ps); + int port, usb_port_status_t *ps); usbd_status usbd_setup_pipe(usbd_device_handle dev, - usbd_interface_handle iface, - struct usbd_endpoint *, int, - usbd_pipe_handle *pipe); -usbd_status usbd_new_device(struct device *parent, - usbd_bus_handle bus, int depth, - int lowspeed, int port, - struct usbd_port *); + usbd_interface_handle iface, struct usbd_endpoint *, int, + usbd_pipe_handle *pipe); +usbd_status usbd_new_device(struct device *parent, usbd_bus_handle bus, + int depth, int lowspeed, int port, struct usbd_port *); void usbd_remove_device(usbd_device_handle, struct usbd_port *); int usbd_printBCD(char *cp, size_t len, int bcd); usbd_status usbd_fill_iface_data(usbd_device_handle dev, int i, int a); |