summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/disklabel.h4
-rw-r--r--sys/sys/diskmbr.h4
-rw-r--r--sys/sys/diskpc98.h4
3 files changed, 0 insertions, 12 deletions
diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h
index 23054c1..af136d8 100644
--- a/sys/sys/disklabel.h
+++ b/sys/sys/disklabel.h
@@ -110,18 +110,14 @@ 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 */
diff --git a/sys/sys/diskmbr.h b/sys/sys/diskmbr.h
index 23054c1..af136d8 100644
--- a/sys/sys/diskmbr.h
+++ b/sys/sys/diskmbr.h
@@ -110,18 +110,14 @@ 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 */
diff --git a/sys/sys/diskpc98.h b/sys/sys/diskpc98.h
index 23054c1..af136d8 100644
--- a/sys/sys/diskpc98.h
+++ b/sys/sys/diskpc98.h
@@ -110,18 +110,14 @@ 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 */
OpenPOWER on IntegriCloud