summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbdi.h
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2005-03-25 12:49:26 +0000
committersobomax <sobomax@FreeBSD.org>2005-03-25 12:49:26 +0000
commitb1082b66dd9f5b68526232824c4863e087c73628 (patch)
treec2c92f48506e2907b7fa0bfe5c6925ed5ba8b250 /sys/dev/usb/usbdi.h
parent9289f3e0c2b3cc41774d327daa9da40958544b66 (diff)
downloadFreeBSD-src-b1082b66dd9f5b68526232824c4863e087c73628.zip
FreeBSD-src-b1082b66dd9f5b68526232824c4863e087c73628.tar.gz
Protect against multiple inclusions.
Diffstat (limited to 'sys/dev/usb/usbdi.h')
-rw-r--r--sys/dev/usb/usbdi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h
index b238b17..1266bb7 100644
--- a/sys/dev/usb/usbdi.h
+++ b/sys/dev/usb/usbdi.h
@@ -38,6 +38,9 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef _USBDI_H_
+#define _USBDI_H_
+
typedef struct usbd_bus *usbd_bus_handle;
typedef struct usbd_device *usbd_device_handle;
typedef struct usbd_interface *usbd_interface_handle;
@@ -286,3 +289,5 @@ int usbd_driver_load(module_t mod, int what, void *arg);
#endif /* USB_USE_SOFTINTR */
#define splhardusb splbio
#define IPL_USB IPL_BIO
+
+#endif
OpenPOWER on IntegriCloud