Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/include x86/bootinfo.h: Add include guard.
details: https://anonhg.NetBSD.org/src/rev/024916fdfde2
branches: trunk
changeset: 369524:024916fdfde2
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Aug 20 23:12:00 2022 +0000
description:
x86/bootinfo.h: Add include guard.
diffstat:
sys/arch/x86/include/bootinfo.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 9df90f029185 -r 024916fdfde2 sys/arch/x86/include/bootinfo.h
--- a/sys/arch/x86/include/bootinfo.h Sat Aug 20 23:08:53 2022 +0000
+++ b/sys/arch/x86/include/bootinfo.h Sat Aug 20 23:12:00 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bootinfo.h,v 1.30 2019/06/21 02:08:55 nonaka Exp $ */
+/* $NetBSD: bootinfo.h,v 1.31 2022/08/20 23:12:00 riastradh Exp $ */
/*
* Copyright (c) 1997
@@ -26,6 +26,9 @@
*
*/
+#ifndef _X86_BOOTINFO_H_
+#define _X86_BOOTINFO_H_
+
#define BTINFO_BOOTPATH 0
#define BTINFO_ROOTDEVICE 1
#define BTINFO_BOOTDISK 3
@@ -275,3 +278,5 @@
#endif /* _LOCORE */
#endif /* _KERNEL */
+
+#endif /* _X86_BOOTINFO_H_ */
Home |
Main Index |
Thread Index |
Old Index