summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbdi.h
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2013-04-26 13:46:41 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2013-04-26 13:46:41 +0000
commitc510b7bcbffb292d898d642ed97ccd4e6aacb410 (patch)
treee12410d1a560c896f21caeb02d051c3b19063b2a /sys/dev/usb/usbdi.h
parent0c7a971f6853884ad5963b5a2d990a987fd6616d (diff)
Rename three functions in usbdi.c to their right prefix (usb_* to usbd_*).
ok mpi@
Diffstat (limited to 'sys/dev/usb/usbdi.h')
-rw-r--r--sys/dev/usb/usbdi.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h
index 4dba8d1d05e..cb91b822c2f 100644
--- a/sys/dev/usb/usbdi.h
+++ b/sys/dev/usb/usbdi.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdi.h,v 1.50 2013/04/19 08:54:50 mpi Exp $ */
+/* $OpenBSD: usbdi.h,v 1.51 2013/04/26 13:46:40 mglocker 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 $ */
@@ -169,8 +169,8 @@ struct usbd_desc_iter {
const uByte *cur;
const uByte *end;
};
-void usb_desc_iter_init(struct usbd_device *, struct usbd_desc_iter *);
-const usb_descriptor_t *usb_desc_iter_next(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 *);
/*
* The usb_task structs form a queue of things to run in the USB task
@@ -208,10 +208,10 @@ struct usb_devno {
u_int16_t ud_vendor;
u_int16_t ud_product;
};
-const struct usb_devno *usb_match_device(const struct usb_devno *tbl,
+const struct usb_devno *usbd_match_device(const struct usb_devno *tbl,
u_int nentries, u_int sz, u_int16_t vendor, u_int16_t product);
#define usb_lookup(tbl, vendor, product) \
- usb_match_device((const struct usb_devno *)(tbl), sizeof (tbl) / sizeof ((tbl)[0]), sizeof ((tbl)[0]), (vendor), (product))
+ usbd_match_device((const struct usb_devno *)(tbl), sizeof (tbl) / sizeof ((tbl)[0]), sizeof ((tbl)[0]), (vendor), (product))
#define USB_PRODUCT_ANY 0xffff
/* NetBSD attachment information */