diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2019-01-31 18:01:15 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2019-01-31 18:01:15 +0000 |
commit | 3fea09b441913bb0fbdd0fa51def14cbda944738 (patch) | |
tree | ce8c4cb0c569cd5245d68e4f086fad9acfefa0cb /sys/dev/usb/uhci.c | |
parent | b71367d6897080ef3792ee29354b84cca8b78a0a (diff) |
Fix compilation of amd64 kernel when optimization is disabled.
C99 inline semantics resulted in undefined symbols.
OK deraadt@ mpi@ dlg@
Diffstat (limited to 'sys/dev/usb/uhci.c')
-rw-r--r-- | sys/dev/usb/uhci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index b1acf72c710..5c499cbe69f 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uhci.c,v 1.144 2018/11/16 11:57:29 mpi Exp $ */ +/* $OpenBSD: uhci.c,v 1.145 2019/01/31 18:01:14 millert Exp $ */ /* $NetBSD: uhci.c,v 1.172 2003/02/23 04:19:26 simonb Exp $ */ /* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $ */ @@ -190,7 +190,7 @@ usbd_status uhci_device_setintr(struct uhci_softc *sc, void uhci_device_clear_toggle(struct usbd_pipe *pipe); -__inline__ struct uhci_soft_qh *uhci_find_prev_qh(struct uhci_soft_qh *, +static inline struct uhci_soft_qh *uhci_find_prev_qh(struct uhci_soft_qh *, struct uhci_soft_qh *); #ifdef UHCI_DEBUG @@ -314,7 +314,7 @@ struct usbd_pipe_methods uhci_device_isoc_methods = { } while (0) #define uhci_active_intr_list(ex) ((ex)->inext.le_prev != NULL) -__inline__ struct uhci_soft_qh * +static inline struct uhci_soft_qh * uhci_find_prev_qh(struct uhci_soft_qh *pqh, struct uhci_soft_qh *sqh) { DPRINTFN(15,("uhci_find_prev_qh: pqh=%p sqh=%p\n", pqh, sqh)); |