Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/cobalt/include Protect against multiple inclusion.



details:   https://anonhg.NetBSD.org/src/rev/1d76c2a618c2
branches:  trunk
changeset: 484067:1d76c2a618c2
user:      soren <soren%NetBSD.org@localhost>
date:      Fri Mar 24 20:16:27 2000 +0000

description:
Protect against multiple inclusion.

diffstat:

 sys/arch/cobalt/include/disklabel.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r f09a38001f6a -r 1d76c2a618c2 sys/arch/cobalt/include/disklabel.h
--- a/sys/arch/cobalt/include/disklabel.h       Fri Mar 24 20:10:28 2000 +0000
+++ b/sys/arch/cobalt/include/disklabel.h       Fri Mar 24 20:16:27 2000 +0000
@@ -1,4 +1,7 @@
-/*     $NetBSD: disklabel.h,v 1.2 2000/03/22 20:38:05 soren Exp $      */
+/*     $NetBSD: disklabel.h,v 1.3 2000/03/24 20:16:27 soren Exp $      */
+
+#ifndef _MACHINE_DISKLABEL_H_
+#define _MACHINE_DISKLABEL_H_
 
 #define LABELSECTOR    1               /* sector containing label */
 #define LABELOFFSET    0               /* offset of label in sector */
@@ -15,3 +18,5 @@
         struct dkbad bad;
 };
 #endif
+
+#endif /* _MACHINE_DISKLABEL_H_ */



Home | Main Index | Thread Index | Old Index