diff options
author | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-10-14 01:02:53 +0000 |
---|---|---|
committer | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-10-14 01:02:53 +0000 |
commit | 86da1a87f10fc8abf5c927a5180c26db793cf0ec (patch) | |
tree | 511a48743548d795371f736a0cd9b540211d298a /sys/arch | |
parent | 374fe470ffe85053d13f43ca9db351bd0de36a04 (diff) |
Neater this way.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/include/disklabel.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/arch/i386/include/disklabel.h b/sys/arch/i386/include/disklabel.h index fe2a53c5118..ec5fb2bc19e 100644 --- a/sys/arch/i386/include/disklabel.h +++ b/sys/arch/i386/include/disklabel.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.h,v 1.15 1997/09/29 01:12:19 deraadt Exp $ */ +/* $OpenBSD: disklabel.h,v 1.16 1997/10/14 01:02:52 weingart Exp $ */ /* $NetBSD: disklabel.h,v 1.3 1996/03/09 20:52:54 ghudson Exp $ */ /* @@ -71,13 +71,11 @@ struct dos_partition { #define DOSPTYP_NETBSD DOSPTYP_386BSD /* NetBSD partition type (XXX) */ #define DOSPTYP_OPENBSD 0xa6 /* OpenBSD partition type */ -#define __MBR_XXX __attribute__((packed)) struct dos_mbr { - u_int8_t dmbr_boot[DOSPARTOFF] __MBR_XXX; - struct dos_partition dmbr_parts[NDOSPART] __MBR_XXX; - u_int16_t dmbr_sign __MBR_XXX; -}; -#undef __MBR_XXX + u_int8_t dmbr_boot[DOSPARTOFF]; + struct dos_partition dmbr_parts[NDOSPART]; + u_int16_t dmbr_sign; +} __attribute__((packed)); #define DOSMBR_SIGNATURE (0xaa55) |