Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Wrap dump routine prototypes in #ifdef USB_DEBUG



details:   https://anonhg.NetBSD.org/src/rev/a248376bffb4
branches:  trunk
changeset: 517921:a248376bffb4
user:      augustss <augustss%NetBSD.org@localhost>
date:      Wed Nov 21 13:44:47 2001 +0000

description:
Wrap dump routine prototypes in #ifdef USB_DEBUG

diffstat:

 sys/dev/usb/usbdivar.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 6423a62b3c89 -r a248376bffb4 sys/dev/usb/usbdivar.h
--- a/sys/dev/usb/usbdivar.h    Wed Nov 21 13:43:38 2001 +0000
+++ b/sys/dev/usb/usbdivar.h    Wed Nov 21 13:44:47 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbdivar.h,v 1.66 2001/11/20 13:48:04 augustss Exp $   */
+/*     $NetBSD: usbdivar.h,v 1.67 2001/11/21 13:44:47 augustss Exp $   */
 /*     $FreeBSD: src/sys/dev/usb/usbdivar.h,v 1.11 1999/11/17 22:33:51 n_hibma Exp $   */
 
 /*
@@ -225,11 +225,13 @@
 void usbd_init(void);
 void usbd_finish(void);
 
+#ifdef USB_DEBUG
 void usbd_dump_iface(struct usbd_interface *iface);
 void usbd_dump_device(struct usbd_device *dev);
 void usbd_dump_endpoint(struct usbd_endpoint *endp);
 void usbd_dump_queue(usbd_pipe_handle pipe);
 void usbd_dump_pipe(usbd_pipe_handle pipe);
+#endif
 
 /* Routines from usb_subr.c */
 int            usbctlprint(void *, const char *);



Home | Main Index | Thread Index | Old Index