diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-09 11:06:54 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-09 11:06:54 +0000 |
commit | 522658dc278638b28c649f32cd350159c91395cf (patch) | |
tree | 5272c92068b4e8eb82bf984825d5f42c87040fa0 /sys/dev/usb/umidireg.h | |
parent | 60582c6f13fde3de6874af4087ae9e22593ffde2 (diff) |
Remove the definition and use of UPACKED and replace it with our own __packed
(to which UPACKED was define'd before anway). No binary change, just one layer
of confusion less in the sourcecode.
ok jsg
Diffstat (limited to 'sys/dev/usb/umidireg.h')
-rw-r--r-- | sys/dev/usb/umidireg.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/umidireg.h b/sys/dev/usb/umidireg.h index 3db68c93c0a..318222587a3 100644 --- a/sys/dev/usb/umidireg.h +++ b/sys/dev/usb/umidireg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: umidireg.h,v 1.5 2004/10/01 04:08:46 jsg Exp $ */ +/* $OpenBSD: umidireg.h,v 1.6 2007/06/09 11:06:53 mbalmer Exp $ */ /* $NetBSD: umidireg.h,v 1.3 2003/12/04 13:57:31 keihan Exp $ */ /* * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -51,7 +51,7 @@ typedef struct { uByte bDescriptorSubtype; uWord bcdMSC; uWord wTotalLength; -} UPACKED umidi_cs_interface_descriptor_t; +} __packed umidi_cs_interface_descriptor_t; #define UMIDI_CS_INTERFACE_DESCRIPTOR_SIZE 7 typedef struct { @@ -59,7 +59,7 @@ typedef struct { uByte bDescriptorType; uByte bDescriptorSubType; uByte bNumEmbMIDIJack; -} UPACKED umidi_cs_endpoint_descriptor_t; +} __packed umidi_cs_endpoint_descriptor_t; #define UMIDI_CS_ENDPOINT_DESCRIPTOR_SIZE 4 typedef struct { @@ -68,7 +68,7 @@ typedef struct { uByte bDescriptorSubtype; uByte bJackType; uByte bJackID; -} UPACKED umidi_jack_descriptor_t; +} __packed umidi_jack_descriptor_t; #define UMIDI_JACK_DESCRIPTOR_SIZE 5 |