summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2015-09-30 14:57:04 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2015-09-30 14:57:04 +0000
commitcdcc4535b4686c8748e1805ed9817bcf0466a59d (patch)
treee270bdd735d6d45b2420119b9fbdb23e1237dc0b /sys/arch
parent5d73202a4c74eddd671ab127bcbcce27a1066423 (diff)
Use consistant whitespace/comments for #define'ing LABELSECTOR,
LABELOFFSET and MAXPARTITIONS. Easier on the eye when scanning through all these files. No functional change.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/include/disklabel.h8
-rw-r--r--sys/arch/amd64/include/disklabel.h8
-rw-r--r--sys/arch/arm/include/disklabel.h8
-rw-r--r--sys/arch/aviion/include/disklabel.h8
-rw-r--r--sys/arch/hppa/include/disklabel.h8
-rw-r--r--sys/arch/hppa64/include/disklabel.h8
-rw-r--r--sys/arch/i386/include/disklabel.h8
-rw-r--r--sys/arch/loongson/include/disklabel.h8
-rw-r--r--sys/arch/luna88k/include/disklabel.h8
-rw-r--r--sys/arch/macppc/include/disklabel.h8
-rw-r--r--sys/arch/octeon/include/disklabel.h8
-rw-r--r--sys/arch/sgi/include/disklabel.h8
-rw-r--r--sys/arch/sh/include/disklabel.h8
-rw-r--r--sys/arch/socppc/include/disklabel.h8
-rw-r--r--sys/arch/sparc/include/disklabel.h8
-rw-r--r--sys/arch/sparc64/include/disklabel.h8
-rw-r--r--sys/arch/vax/include/disklabel.h8
17 files changed, 68 insertions, 68 deletions
diff --git a/sys/arch/alpha/include/disklabel.h b/sys/arch/alpha/include/disklabel.h
index 628956a84dc..136c55d7a9d 100644
--- a/sys/arch/alpha/include/disklabel.h
+++ b/sys/arch/alpha/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.23 2007/06/20 18:15:43 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.24 2015/09/30 14:57:03 krw Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -33,8 +33,8 @@
#ifndef _MACHINE_DISKLABEL_H_
#define _MACHINE_DISKLABEL_H_
-#define LABELSECTOR 0
-#define LABELOFFSET 64
-#define MAXPARTITIONS 16 /* number of partitions */
+#define LABELSECTOR 0 /* sector containing label */
+#define LABELOFFSET 64 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
#endif /* _MACHINE_DISKLABEL_H_ */
diff --git a/sys/arch/amd64/include/disklabel.h b/sys/arch/amd64/include/disklabel.h
index 7b3727b6db7..393f39cef87 100644
--- a/sys/arch/amd64/include/disklabel.h
+++ b/sys/arch/amd64/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.10 2007/06/20 18:15:45 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.11 2015/09/30 14:57:03 krw Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -33,8 +33,8 @@
#ifndef _MACHINE_DISKLABEL_H_
#define _MACHINE_DISKLABEL_H_
-#define LABELSECTOR 1 /* sector containing label */
-#define LABELOFFSET 0 /* offset of label in sector */
-#define MAXPARTITIONS 16 /* number of partitions */
+#define LABELSECTOR 1 /* sector containing label */
+#define LABELOFFSET 0 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
#endif /* _MACHINE_DISKLABEL_H_ */
diff --git a/sys/arch/arm/include/disklabel.h b/sys/arch/arm/include/disklabel.h
index f4d66b2165e..933906b4ab9 100644
--- a/sys/arch/arm/include/disklabel.h
+++ b/sys/arch/arm/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.13 2007/06/20 18:15:45 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.14 2015/09/30 14:57:03 krw Exp $ */
/*
* Copyright (c) 1994 Mark Brinicombe.
@@ -38,8 +38,8 @@
#ifndef _ARM_DISKLABEL_H_
#define _ARM_DISKLABEL_H_
-#define LABELSECTOR 1 /* sector containing label */
-#define LABELOFFSET 0 /* offset of label in sector */
-#define MAXPARTITIONS 16 /* number of partitions */
+#define LABELSECTOR 1 /* sector containing label */
+#define LABELOFFSET 0 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
#endif /* _ARM_DISKLABEL_H_ */
diff --git a/sys/arch/aviion/include/disklabel.h b/sys/arch/aviion/include/disklabel.h
index a2e5a94d8e4..1d34fef8f6e 100644
--- a/sys/arch/aviion/include/disklabel.h
+++ b/sys/arch/aviion/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.13 2013/09/29 12:17:59 miod Exp $ */
+/* $OpenBSD: disklabel.h,v 1.14 2015/09/30 14:57:03 krw Exp $ */
/*
* Copyright (c) 2010 Miodrag Vallat.
@@ -19,9 +19,9 @@
#ifndef _MACHINE_DISKLABEL_H_
#define _MACHINE_DISKLABEL_H_
-#define LABELSECTOR 1 /* sector containing label */
-#define LABELOFFSET 0 /* offset of label in sector */
-#define MAXPARTITIONS 16 /* number of partitions */
+#define LABELSECTOR 1 /* sector containing label */
+#define LABELOFFSET 0 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
/*
* AViiON native disk identification
diff --git a/sys/arch/hppa/include/disklabel.h b/sys/arch/hppa/include/disklabel.h
index 6f1b84abbe6..a0b3a52fb96 100644
--- a/sys/arch/hppa/include/disklabel.h
+++ b/sys/arch/hppa/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.22 2009/06/14 00:09:39 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.23 2015/09/30 14:57:03 krw Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -33,9 +33,9 @@
#ifndef _MACHINE_DISKLABEL_H_
#define _MACHINE_DISKLABEL_H_
-#define LABELSECTOR 1
-#define LABELOFFSET 0
-#define MAXPARTITIONS 16 /* number of partitions */
+#define LABELSECTOR 1 /* sector containing label */
+#define LABELOFFSET 0 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
/*
* volume header for "LIF" format volumes
diff --git a/sys/arch/hppa64/include/disklabel.h b/sys/arch/hppa64/include/disklabel.h
index df4a61d87e9..3d9f82cf398 100644
--- a/sys/arch/hppa64/include/disklabel.h
+++ b/sys/arch/hppa64/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.16 2009/06/14 00:09:39 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.17 2015/09/30 14:57:03 krw Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -33,9 +33,9 @@
#ifndef _MACHINE_DISKLABEL_H_
#define _MACHINE_DISKLABEL_H_
-#define LABELSECTOR 1
-#define LABELOFFSET 0
-#define MAXPARTITIONS 16 /* number of partitions */
+#define LABELSECTOR 1 /* sector containing label */
+#define LABELOFFSET 0 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
/*
* volume header for "LIF" format volumes
diff --git a/sys/arch/i386/include/disklabel.h b/sys/arch/i386/include/disklabel.h
index d22293f9865..06a5cf3edad 100644
--- a/sys/arch/i386/include/disklabel.h
+++ b/sys/arch/i386/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.34 2007/06/20 18:15:45 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.35 2015/09/30 14:57:03 krw Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -33,8 +33,8 @@
#ifndef _MACHINE_DISKLABEL_H_
#define _MACHINE_DISKLABEL_H_
-#define LABELSECTOR 1 /* sector containing label */
-#define LABELOFFSET 0 /* offset of label in sector */
-#define MAXPARTITIONS 16 /* number of partitions */
+#define LABELSECTOR 1 /* sector containing label */
+#define LABELOFFSET 0 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
#endif /* _MACHINE_DISKLABEL_H_ */
diff --git a/sys/arch/loongson/include/disklabel.h b/sys/arch/loongson/include/disklabel.h
index 7a9dbe028e9..6fe42a8bf66 100644
--- a/sys/arch/loongson/include/disklabel.h
+++ b/sys/arch/loongson/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.1 2009/08/04 20:26:39 miod Exp $ */
+/* $OpenBSD: disklabel.h,v 1.2 2015/09/30 14:57:03 krw Exp $ */
/* public domain */
/*
@@ -6,6 +6,6 @@
* of the OpenBSD partition.
*/
-#define LABELSECTOR 1
-#define LABELOFFSET 0
-#define MAXPARTITIONS 16
+#define LABELSECTOR 1 /* sector containing label */
+#define LABELOFFSET 0 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
diff --git a/sys/arch/luna88k/include/disklabel.h b/sys/arch/luna88k/include/disklabel.h
index 9626b3c393b..1c65b293642 100644
--- a/sys/arch/luna88k/include/disklabel.h
+++ b/sys/arch/luna88k/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.5 2007/06/20 18:15:45 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.6 2015/09/30 14:57:03 krw Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -33,8 +33,8 @@
#ifndef _MACHINE_DISKLABEL_H_
#define _MACHINE_DISKLABEL_H_
-#define LABELSECTOR 0 /* sector containing label */
-#define LABELOFFSET 64 /* offset of label in sector */
-#define MAXPARTITIONS 16 /* number of partitions */
+#define LABELSECTOR 0 /* sector containing label */
+#define LABELOFFSET 64 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
#endif /* _MACHINE_DISKLABEL_H_ */
diff --git a/sys/arch/macppc/include/disklabel.h b/sys/arch/macppc/include/disklabel.h
index 83c3e06b191..615ac8d7257 100644
--- a/sys/arch/macppc/include/disklabel.h
+++ b/sys/arch/macppc/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.14 2007/06/20 18:15:45 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.15 2015/09/30 14:57:03 krw Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -33,9 +33,9 @@
#ifndef _MACHINE_DISKLABEL_H_
#define _MACHINE_DISKLABEL_H_
-#define LABELSECTOR 1 /* sector containing label */
-#define LABELOFFSET 0 /* offset of label in sector */
-#define MAXPARTITIONS 16 /* number of partitions */
+#define LABELSECTOR 1 /* sector containing label */
+#define LABELOFFSET 0 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
/* HFS/DPME */
diff --git a/sys/arch/octeon/include/disklabel.h b/sys/arch/octeon/include/disklabel.h
index bf7938aba42..6fe42a8bf66 100644
--- a/sys/arch/octeon/include/disklabel.h
+++ b/sys/arch/octeon/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.1 2010/09/20 06:32:30 syuu Exp $ */
+/* $OpenBSD: disklabel.h,v 1.2 2015/09/30 14:57:03 krw Exp $ */
/* public domain */
/*
@@ -6,6 +6,6 @@
* of the OpenBSD partition.
*/
-#define LABELSECTOR 1
-#define LABELOFFSET 0
-#define MAXPARTITIONS 16
+#define LABELSECTOR 1 /* sector containing label */
+#define LABELOFFSET 0 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
diff --git a/sys/arch/sgi/include/disklabel.h b/sys/arch/sgi/include/disklabel.h
index dfa59565d66..2f44b1e1b5a 100644
--- a/sys/arch/sgi/include/disklabel.h
+++ b/sys/arch/sgi/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.6 2008/08/08 16:07:41 jsing Exp $ */
+/* $OpenBSD: disklabel.h,v 1.7 2015/09/30 14:57:03 krw Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -33,9 +33,9 @@
#ifndef _MACHINE_DISKLABEL_H_
#define _MACHINE_DISKLABEL_H_
-#define LABELSECTOR 1
-#define LABELOFFSET 0
-#define MAXPARTITIONS 16 /* number of partitions */
+#define LABELSECTOR 1 /* sector containing label */
+#define LABELOFFSET 0 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
/*
* SGI Volume Header.
diff --git a/sys/arch/sh/include/disklabel.h b/sys/arch/sh/include/disklabel.h
index fedc191b7a0..b34fd62f80c 100644
--- a/sys/arch/sh/include/disklabel.h
+++ b/sys/arch/sh/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.8 2008/04/06 21:19:35 drahn Exp $ */
+/* $OpenBSD: disklabel.h,v 1.9 2015/09/30 14:57:03 krw Exp $ */
/*
* Copyright (c) 1994 Mark Brinicombe.
@@ -38,8 +38,8 @@
#ifndef _SH_DISKLABEL_H_
#define _SH_DISKLABEL_H_
-#define LABELSECTOR 1 /* sector containing label */
-#define LABELOFFSET 0 /* offset of label in sector */
-#define MAXPARTITIONS 16 /* number of partitions */
+#define LABELSECTOR 1 /* sector containing label */
+#define LABELOFFSET 0 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
#endif /* _SH_DISKLABEL_H_ */
diff --git a/sys/arch/socppc/include/disklabel.h b/sys/arch/socppc/include/disklabel.h
index 72e75cb8ab5..d959c7ccb8c 100644
--- a/sys/arch/socppc/include/disklabel.h
+++ b/sys/arch/socppc/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.2 2011/05/22 23:37:37 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.3 2015/09/30 14:57:03 krw Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -33,8 +33,8 @@
#ifndef _MACHINE_DISKLABEL_H_
#define _MACHINE_DISKLABEL_H_
-#define LABELSECTOR 1 /* sector containing label */
-#define LABELOFFSET 0 /* offset of label in sector */
-#define MAXPARTITIONS 16 /* number of partitions */
+#define LABELSECTOR 1 /* sector containing label */
+#define LABELOFFSET 0 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
#endif /* _MACHINE_DISKLABEL_H_ */
diff --git a/sys/arch/sparc/include/disklabel.h b/sys/arch/sparc/include/disklabel.h
index 9811c473579..44b32721dfc 100644
--- a/sys/arch/sparc/include/disklabel.h
+++ b/sys/arch/sparc/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.4 2007/06/20 18:15:45 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.5 2015/09/30 14:57:03 krw Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -33,8 +33,8 @@
#ifndef _MACHINE_DISKLABEL_H_
#define _MACHINE_DISKLABEL_H_
-#define LABELSECTOR 0 /* sector containing label */
-#define LABELOFFSET 64 /* offset of label in sector */
-#define MAXPARTITIONS 16 /* number of partitions */
+#define LABELSECTOR 0 /* sector containing label */
+#define LABELOFFSET 64 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
#endif /* _MACHINE_DISKLABEL_H_ */
diff --git a/sys/arch/sparc64/include/disklabel.h b/sys/arch/sparc64/include/disklabel.h
index a5b1f4c6b6a..6eee276b703 100644
--- a/sys/arch/sparc64/include/disklabel.h
+++ b/sys/arch/sparc64/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.4 2007/06/20 18:15:45 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.5 2015/09/30 14:57:03 krw Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -33,8 +33,8 @@
#ifndef _MACHINE_DISKLABEL_H_
#define _MACHINE_DISKLABEL_H_
-#define LABELSECTOR 0 /* sector containing label */
-#define LABELOFFSET 128 /* offset of label in sector */
-#define MAXPARTITIONS 16 /* number of partitions */
+#define LABELSECTOR 0 /* sector containing label */
+#define LABELOFFSET 128 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
#endif /* _MACHINE_DISKLABEL_H_ */
diff --git a/sys/arch/vax/include/disklabel.h b/sys/arch/vax/include/disklabel.h
index 7bc0c1d5fff..290741be520 100644
--- a/sys/arch/vax/include/disklabel.h
+++ b/sys/arch/vax/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.9 2007/06/20 18:15:45 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.10 2015/09/30 14:57:03 krw Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -33,8 +33,8 @@
#ifndef _MACHINE_DISKLABEL_H_
#define _MACHINE_DISKLABEL_H_
-#define LABELSECTOR 0 /* sector containing label */
-#define LABELOFFSET 64 /* offset of label in sector */
-#define MAXPARTITIONS 16 /* number of partitions */
+#define LABELSECTOR 0 /* sector containing label */
+#define LABELOFFSET 64 /* offset of label in sector */
+#define MAXPARTITIONS 16 /* number of partitions */
#endif /* _MACHINE_DISKLABEL_H_ */