diff options
author | 2002-07-11 03:11:17 +0000 | |
---|---|---|
committer | 2002-07-11 03:11:17 +0000 | |
commit | 1056ff32494f3d76d42a01aa96e1c7d264b3ecd7 (patch) | |
tree | f9ba196083d656e1cca79320cb701dd7c7e55f21 /sys/dev/usb/usb.c | |
parent | It is supposed to be printf, not db_printf. This change costed me (diff) | |
download | wireguard-openbsd-1056ff32494f3d76d42a01aa96e1c7d264b3ecd7.tar.xz wireguard-openbsd-1056ff32494f3d76d42a01aa96e1c7d264b3ecd7.zip |
Please be more portable in usb land
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r-- | sys/dev/usb/usb.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index 00804d71234..b6f325ab0af 100644 --- a/sys/dev/usb/usb.c +++ b/sys/dev/usb/usb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usb.c,v 1.21 2002/07/10 21:41:51 mickey Exp $ */ +/* $OpenBSD: usb.c,v 1.22 2002/07/11 03:11:17 nate Exp $ */ /* $NetBSD: usb.c,v 1.53 2001/01/23 17:04:30 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb.c,v 1.20 1999/11/17 22:33:46 n_hibma Exp $ */ @@ -103,6 +103,10 @@ struct usb_softc { char sc_dying; }; +#if defined(__NetBSD__) +cdev_decl(usb); +#endif + Static void usb_discover(void *); Static void usb_create_event_thread(void *); Static void usb_event_thread(void *); |