summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb.c
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-04-03 20:58:30 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-04-03 20:58:30 +0000
commitd1a0c5a2fa387d9750229d6941e9bc9c1fa47738 (patch)
treee9a6c861ea2a1c99d56aa07012fab3f62a577765 /sys/dev/usb/usb.c
parent56ae0558f5ba0519e94a092249dc6f15954a5e16 (diff)
downloadFreeBSD-src-d1a0c5a2fa387d9750229d6941e9bc9c1fa47738.zip
FreeBSD-src-d1a0c5a2fa387d9750229d6941e9bc9c1fa47738.tar.gz
OpenBSD has a broken debugger that does not grok static. Use a
#define Static static that the OpenBSD folks can define it to be empty if they like.
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r--sys/dev/usb/usb.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c
index 4a166db..e99bb71 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -147,10 +147,10 @@ struct cdevsw usb_cdevsw = {
};
#endif
-static usbd_status usb_discover __P((struct usb_softc *));
+Static usbd_status usb_discover __P((struct usb_softc *));
#if defined(__NetBSD__) || defined(__OpenBSD__)
-static void usb_create_event_thread __P((void *));
-static void usb_event_thread __P((void *));
+Static void usb_create_event_thread __P((void *));
+Static void usb_event_thread __P((void *));
#endif
#define USB_MAX_EVENTS 50
@@ -158,21 +158,21 @@ struct usb_event_q {
struct usb_event ue;
SIMPLEQ_ENTRY(usb_event_q) next;
};
-static SIMPLEQ_HEAD(, usb_event_q) usb_events =
+Static SIMPLEQ_HEAD(, usb_event_q) usb_events =
SIMPLEQ_HEAD_INITIALIZER(usb_events);
-static int usb_nevents = 0;
-static struct selinfo usb_selevent;
-static struct proc *usb_async_proc; /* process who wants USB SIGIO */
-static int usb_dev_open = 0;
+Static int usb_nevents = 0;
+Static struct selinfo usb_selevent;
+Static struct proc *usb_async_proc; /* process who wants USB SIGIO */
+Static int usb_dev_open = 0;
-static int usb_get_next_event __P((struct usb_event *));
+Static int usb_get_next_event __P((struct usb_event *));
#if defined(__NetBSD__) || defined(__OpenBSD__)
/* Flag to see if we are in the cold boot process. */
extern int cold;
#endif
-static const char *usbrev_str[] = USBREV_STR;
+Static const char *usbrev_str[] = USBREV_STR;
USB_DECLARE_DRIVER_INIT(usb,
DEVMETHOD(device_suspend, bus_generic_suspend),
OpenPOWER on IntegriCloud