summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbdi.h
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2014-03-07 09:38:14 +0000
committermpi <mpi@openbsd.org>2014-03-07 09:38:14 +0000
commit2da076b11cdb96a1a83d352b98e18ebef4e76c8b (patch)
tree01a4885a9ddce8fab7003f69f9ae6c2535606c47 /sys/dev/usb/usbdi.h
parentRemove superfluous 'return'. (diff)
downloadwireguard-openbsd-2da076b11cdb96a1a83d352b98e18ebef4e76c8b.tar.xz
wireguard-openbsd-2da076b11cdb96a1a83d352b98e18ebef4e76c8b.zip
We already have three identical copies of the *hci_str() function,
so merge them into usbd_str() to not introduce other copies with the upcoming HC drivers.
Diffstat (limited to 'sys/dev/usb/usbdi.h')
-rw-r--r--sys/dev/usb/usbdi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h
index 461c430fcc0..819bb291c32 100644
--- a/sys/dev/usb/usbdi.h
+++ b/sys/dev/usb/usbdi.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdi.h,v 1.61 2014/03/06 23:51:04 mpi Exp $ */
+/* $OpenBSD: usbdi.h,v 1.62 2014/03/07 09:38:14 mpi Exp $ */
/* $NetBSD: usbdi.h,v 1.62 2002/07/11 21:14:35 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbdi.h,v 1.18 1999/11/17 22:33:49 n_hibma Exp $ */
@@ -172,6 +172,8 @@ struct usbd_desc_iter {
void usbd_desc_iter_init(struct usbd_device *, struct usbd_desc_iter *);
const usb_descriptor_t *usbd_desc_iter_next(struct usbd_desc_iter *);
+int usbd_str(usb_string_descriptor_t *, int, const char *);
+
/*
* The usb_task structs form a queue of things to run in the USB task
* threads. Normally this is just device discovery when a connect/disconnect