Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/include Multiple inclusion protection



details:   https://anonhg.NetBSD.org/src/rev/06e2f886008e
branches:  trunk
changeset: 359973:06e2f886008e
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Mar 03 16:11:22 2018 +0000

description:
Multiple inclusion protection

diffstat:

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

diffs (25 lines):

diff -r 2dea7b79537c -r 06e2f886008e sys/arch/arm/include/bootconfig.h
--- a/sys/arch/arm/include/bootconfig.h Sat Mar 03 16:09:56 2018 +0000
+++ b/sys/arch/arm/include/bootconfig.h Sat Mar 03 16:11:22 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bootconfig.h,v 1.8 2017/05/28 23:31:41 jmcneill Exp $  */
+/*     $NetBSD: bootconfig.h,v 1.9 2018/03/03 16:11:22 skrll Exp $     */
 
 /*
  * Copyright (c) 1994 Mark Brinicombe.
@@ -36,6 +36,9 @@
  * SUCH DAMAGE.
  */
 
+#ifndef _ARM_BOOTCONFIG_H
+#define _ARM_BOOTCONFIG_H
+
 #ifdef _KERNEL
 #define BOOTOPT_TYPE_BOOLEAN           0
 #define BOOTOPT_TYPE_STRING            1
@@ -59,3 +62,5 @@
 
 extern char *boot_args;
 #endif /* _KERNEL */
+
+#endif



Home | Main Index | Thread Index | Old Index