diff options
author | phk <phk@FreeBSD.org> | 2002-03-23 16:03:13 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-03-23 16:03:13 +0000 |
commit | 96faa7809998deb941d465e675415b91777df26e (patch) | |
tree | e32283600abafc421c904c84302c50ff064e589d /sys/sys/diskpc98.h | |
parent | 8e5d7bb37a4e4d8ae1e1fefe6ad47b7c8865400d (diff) | |
download | FreeBSD-src-96faa7809998deb941d465e675415b91777df26e.zip FreeBSD-src-96faa7809998deb941d465e675415b91777df26e.tar.gz |
Hide the ugly d_boot[01] from the kernel.
Diffstat (limited to 'sys/sys/diskpc98.h')
-rw-r--r-- | sys/sys/diskpc98.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/diskpc98.h b/sys/sys/diskpc98.h index af136d8..23054c1 100644 --- a/sys/sys/diskpc98.h +++ b/sys/sys/diskpc98.h @@ -110,14 +110,18 @@ struct disklabel { */ union { char un_d_packname[16]; /* pack identifier */ +#ifndef _KERNEL struct { char *un_d_boot0; /* primary bootstrap name */ char *un_d_boot1; /* secondary bootstrap name */ } un_b; +#endif } d_un; #define d_packname d_un.un_d_packname +#ifndef _KERNEL #define d_boot0 d_un.un_b.un_d_boot0 #define d_boot1 d_un.un_b.un_d_boot1 +#endif /* disk geometry: */ u_int32_t d_secsize; /* # of bytes per sector */ |