summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbdi_util.c
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-04-03 20:58:30 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-04-03 20:58:30 +0000
commitd1a0c5a2fa387d9750229d6941e9bc9c1fa47738 (patch)
treee9a6c861ea2a1c99d56aa07012fab3f62a577765 /sys/dev/usb/usbdi_util.c
parent56ae0558f5ba0519e94a092249dc6f15954a5e16 (diff)
downloadFreeBSD-src-d1a0c5a2fa387d9750229d6941e9bc9c1fa47738.zip
FreeBSD-src-d1a0c5a2fa387d9750229d6941e9bc9c1fa47738.tar.gz
OpenBSD has a broken debugger that does not grok static. Use a
#define Static static that the OpenBSD folks can define it to be empty if they like.
Diffstat (limited to 'sys/dev/usb/usbdi_util.c')
-rw-r--r--sys/dev/usb/usbdi_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usbdi_util.c b/sys/dev/usb/usbdi_util.c
index 1bdef6e..b8b51d0 100644
--- a/sys/dev/usb/usbdi_util.c
+++ b/sys/dev/usb/usbdi_util.c
@@ -480,9 +480,9 @@ usbd_get_config(dev, conf)
return (usbd_do_request(dev, &req, conf));
}
-static void usbd_bulk_transfer_cb __P((usbd_xfer_handle xfer,
+Static void usbd_bulk_transfer_cb __P((usbd_xfer_handle xfer,
usbd_private_handle priv, usbd_status status));
-static void
+Static void
usbd_bulk_transfer_cb(xfer, priv, status)
usbd_xfer_handle xfer;
usbd_private_handle priv;
OpenPOWER on IntegriCloud