diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2000-07-06 13:23:35 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2000-07-06 13:23:35 +0000 |
commit | 48d423edf85492aeb3466e44d4a2708d91ee752a (patch) | |
tree | 1749001533651432b858d264f5e68d97e7f94fbf /sys | |
parent | 2e12ba136ebdb26f5fa2fe8cb7b9e5e64e1a0d0b (diff) | |
download | FreeBSD-src-48d423edf85492aeb3466e44d4a2708d91ee752a.zip FreeBSD-src-48d423edf85492aeb3466e44d4a2708d91ee752a.tar.gz |
Properly fix world.
Sorry for breaking things in the first place.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/usb_port.h | 2 | ||||
-rw-r--r-- | sys/dev/usb/usbhid.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h index caf64fa..61ac382 100644 --- a/sys/dev/usb/usb_port.h +++ b/sys/dev/usb/usb_port.h @@ -296,8 +296,6 @@ __CONCAT(dname,_detach)(self, flags) \ #define clalloc(p, s, x) (clist_alloc_cblocks((p), (s), (s)), 0) #define clfree(p) clist_free_cblocks((p)) -#define UPACKED __attribute__ ((packed)) - #define PWR_RESUME 0 #define PWR_SUSPEND 1 diff --git a/sys/dev/usb/usbhid.h b/sys/dev/usb/usbhid.h index a662f85..d404a38 100644 --- a/sys/dev/usb/usbhid.h +++ b/sys/dev/usb/usbhid.h @@ -54,7 +54,9 @@ #define UR_GET_PROTOCOL 0x03 #define UR_SET_PROTOCOL 0x0b +#if defined(__FreeBSD__) #define UPACKED __attribute__ ((packed)) +#endif typedef struct usb_hid_descriptor { uByte bLength; |