summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2013-08-08 09:44:23 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2013-08-08 09:44:23 +0000
commit58b9b6cd0ada826a1d88b54d2d0ab6675d9ffe2c (patch)
tree444b82248856f70ef214c49a5162bd70bbe7f753 /sys
parentf946ca01f76d5bf2cb1b56888587c9a119062b0e (diff)
These functions should only used in the usb-autoconf glue, do not expose
them.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/usb_subr.c5
-rw-r--r--sys/dev/usb/usbdivar.h4
2 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/usb/usb_subr.c b/sys/dev/usb/usb_subr.c
index deaa56c05ea..8217a8ad090 100644
--- a/sys/dev/usb/usb_subr.c
+++ b/sys/dev/usb/usb_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usb_subr.c,v 1.90 2013/08/08 09:37:02 mpi Exp $ */
+/* $OpenBSD: usb_subr.c,v 1.91 2013/08/08 09:44:22 mpi Exp $ */
/* $NetBSD: usb_subr.c,v 1.103 2003/01/10 11:19:13 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $ */
@@ -71,6 +71,9 @@ void usbd_free_iface_data(struct usbd_device *, int);
usbd_status usbd_probe_and_attach(struct device *,
struct usbd_device *, int, int);
+int usbd_printBCD(char *cp, size_t len, int bcd);
+void usb_free_device(struct usbd_device *, struct usbd_port *);
+
#ifdef USBVERBOSE
#include <dev/usb/usbdevs_data.h>
#endif /* USBVERBOSE */
diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h
index 619573fa2c3..0d6582e7a88 100644
--- a/sys/dev/usb/usbdivar.h
+++ b/sys/dev/usb/usbdivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdivar.h,v 1.49 2013/04/26 14:05:24 mpi Exp $ */
+/* $OpenBSD: usbdivar.h,v 1.50 2013/08/08 09:44:22 mpi 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 $ */
@@ -234,9 +234,7 @@ usbd_status usbd_setup_pipe(struct usbd_device *dev,
struct usbd_pipe **pipe);
usbd_status usbd_new_device(struct device *parent, struct usbd_bus *bus,
int depth, int lowspeed, int port, struct usbd_port *);
-int usbd_printBCD(char *cp, size_t len, int bcd);
usbd_status usbd_fill_iface_data(struct usbd_device *dev, int i, int a);
-void usb_free_device(struct usbd_device *, struct usbd_port *);
usbd_status usb_insert_transfer(struct usbd_xfer *xfer);
void usb_transfer_complete(struct usbd_xfer *xfer);