summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sh3/include/disklabel.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/arch/sh3/include/disklabel.h b/sys/arch/sh3/include/disklabel.h
index 67717f21a7e..b045ffa9c7d 100644
--- a/sys/arch/sh3/include/disklabel.h
+++ b/sys/arch/sh3/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $NetBSD: disklabel.h,v 1.3 2002/04/28 17:10:34 uch Exp $ */
+/* $NetBSD: disklabel.h,v 1.4 2002/05/22 15:01:33 uch Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -35,8 +35,8 @@
#define LABELSECTOR 1 /* sector containing label */
#define LABELOFFSET 0 /* offset of label in sector */
-#define MAXPARTITIONS 8 /* number of partitions */
-#define RAW_PART 3 /* raw partition: XX?d (XXX) */
+#define MAXPARTITIONS 16 /* number of partitions */
+#define RAW_PART 2
/* Pull in MBR partition definitions. */
#include <sys/disklabel_mbr.h>
@@ -49,9 +49,4 @@ struct cpu_disklabel {
};
#endif
-#ifdef _KERNEL
-struct disklabel;
-int bounds_check_with_label(struct buf *, struct disklabel *, int);
-#endif
-
#endif /* _MACHINE_DISKLABEL_H_ */