summaryrefslogtreecommitdiff
path: root/sys/arch/arm32/include/disklabel.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/arm32/include/disklabel.h')
-rw-r--r--sys/arch/arm32/include/disklabel.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arch/arm32/include/disklabel.h b/sys/arch/arm32/include/disklabel.h
index 51789255abc..cdf8e09bb3f 100644
--- a/sys/arch/arm32/include/disklabel.h
+++ b/sys/arch/arm32/include/disklabel.h
@@ -97,6 +97,8 @@ struct cpu_disklabel {
struct dkbad bad;
};
+#define DKBAD(x) ((x)->bad)
+
struct filecore_bootblock {
u_char padding0[0x1c0];
u_char log2secsize;
@@ -124,11 +126,6 @@ struct filecore_bootblock {
u_char checksum;
};
-#ifdef _KERNEL
-struct disklabel;
-int bounds_check_with_label __P((struct buf *, struct disklabel *, int));
-#endif /* _KERNEL */
-
#endif /* _ARM32_DISKLABEL_H_ */
/* End of disklabel.h */