summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include/pc
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-09-23 18:54:32 +0000
committeralfred <alfred@FreeBSD.org>2002-09-23 18:54:32 +0000
commitac315391ceb9f2631fcaa72a6ab3da6255a6598d (patch)
tree8158103cc2a98a399f6b85e558005d61c5a4bb29 /sys/ia64/include/pc
parent5dc0248605e168960cde445de06c93cf34d5030b (diff)
downloadFreeBSD-src-ac315391ceb9f2631fcaa72a6ab3da6255a6598d.zip
FreeBSD-src-ac315391ceb9f2631fcaa72a6ab3da6255a6598d.tar.gz
use __packed.
Diffstat (limited to 'sys/ia64/include/pc')
-rw-r--r--sys/ia64/include/pc/vesa.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/ia64/include/pc/vesa.h b/sys/ia64/include/pc/vesa.h
index 96f027e..c2c2b16 100644
--- a/sys/ia64/include/pc/vesa.h
+++ b/sys/ia64/include/pc/vesa.h
@@ -36,20 +36,20 @@
struct vesa_info
{
/* mandatory fields */
- u_int8_t v_sig[4] __attribute__ ((packed)); /* VESA */
- u_int16_t v_version __attribute__ ((packed)); /* ver in BCD */
- u_int32_t v_oemstr __attribute__ ((packed)); /* OEM string */
- u_int32_t v_flags __attribute__ ((packed)); /* flags */
+ u_int8_t v_sig[4] __packed; /* VESA */
+ u_int16_t v_version __packed; /* ver in BCD */
+ u_int32_t v_oemstr __packed; /* OEM string */
+ u_int32_t v_flags __packed; /* flags */
#define V_DAC8 (1<<0)
#define V_NONVGA (1<<1)
#define V_SNOW (1<<2)
- u_int32_t v_modetable __attribute__ ((packed)); /* modes */
- u_int16_t v_memsize __attribute__ ((packed)); /* in 64K */
+ u_int32_t v_modetable __packed; /* modes */
+ u_int16_t v_memsize __packed; /* in 64K */
/* 2.0 */
- u_int16_t v_revision __attribute__ ((packed)); /* software rev */
- u_int32_t v_venderstr __attribute__ ((packed)); /* vender */
- u_int32_t v_prodstr __attribute__ ((packed)); /* product name */
- u_int32_t v_revstr __attribute__ ((packed)); /* product rev */
+ u_int16_t v_revision __packed; /* software rev */
+ u_int32_t v_venderstr __packed; /* vender */
+ u_int32_t v_prodstr __packed; /* product name */
+ u_int32_t v_revstr __packed; /* product rev */
};
struct vesa_mode
OpenPOWER on IntegriCloud