diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-05 08:43:57 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-05 08:43:57 +0000 |
commit | 440c92fbdde0969f281d9daf32cbafdb1b057de9 (patch) | |
tree | c79c753268946bdc81f4af8df3e6d8695c7fb7ac /sys/dev/usb/usbdi.c | |
parent | 3033997e9c562ce3ee8b9bb55e4ecc77e6b90a56 (diff) |
Remove the "Static" declaration of many functions. It was defined to be empty
and it was not consistently used. It was confusing as it suggested these
functions were static, which they were not.
discussed with dlg and jsg, ok jsg.
Diffstat (limited to 'sys/dev/usb/usbdi.c')
-rw-r--r-- | sys/dev/usb/usbdi.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c index 6a810f6431f..1cc6d81712c 100644 --- a/sys/dev/usb/usbdi.c +++ b/sys/dev/usb/usbdi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usbdi.c,v 1.30 2007/05/31 18:20:22 mbalmer Exp $ */ +/* $OpenBSD: usbdi.c,v 1.31 2007/06/05 08:43:56 mbalmer Exp $ */ /* $NetBSD: usbdi.c,v 1.103 2002/09/27 15:37:38 provos Exp $ */ /* $FreeBSD: src/sys/dev/usb/usbdi.c,v 1.28 1999/11/17 22:33:49 n_hibma Exp $ */ @@ -63,14 +63,14 @@ extern int usbdebug; #define DPRINTFN(n,x) #endif -Static usbd_status usbd_ar_pipe(usbd_pipe_handle pipe); -Static void usbd_do_request_async_cb +usbd_status usbd_ar_pipe(usbd_pipe_handle pipe); +void usbd_do_request_async_cb (usbd_xfer_handle, usbd_private_handle, usbd_status); -Static void usbd_start_next(usbd_pipe_handle pipe); -Static usbd_status usbd_open_pipe_ival +void usbd_start_next(usbd_pipe_handle pipe); +usbd_status usbd_open_pipe_ival (usbd_interface_handle, u_int8_t, u_int8_t, usbd_pipe_handle *, int); -Static int usbd_nbuses = 0; +int usbd_nbuses = 0; void usbd_init(void) @@ -705,7 +705,7 @@ usbd_get_interface(usbd_interface_handle iface, u_int8_t *aiface) /*** Internal routines ***/ /* Dequeue all pipe operations, called at splusb(). */ -Static usbd_status +usbd_status usbd_ar_pipe(usbd_pipe_handle pipe) { usbd_xfer_handle xfer; |