Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/include protect header against recursive include
details: https://anonhg.NetBSD.org/src/rev/6a81e76416f8
branches: trunk
changeset: 357291:6a81e76416f8
user: cherry <cherry%NetBSD.org@localhost>
date: Sat Nov 04 09:31:08 2017 +0000
description:
protect header against recursive include
diffstat:
sys/arch/xen/include/i82093var.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 29489fe3976e -r 6a81e76416f8 sys/arch/xen/include/i82093var.h
--- a/sys/arch/xen/include/i82093var.h Sat Nov 04 09:22:16 2017 +0000
+++ b/sys/arch/xen/include/i82093var.h Sat Nov 04 09:31:08 2017 +0000
@@ -1,4 +1,7 @@
-/* $NetBSD: i82093var.h,v 1.4 2010/03/22 16:43:08 cegger Exp $ */
+/* $NetBSD: i82093var.h,v 1.5 2017/11/04 09:31:08 cherry Exp $ */
+
+#ifndef _XEN_I82093VAR_H_
+#define _XEN_I82093VAR_H_
#include "opt_xen.h"
#define _IOAPIC_CUSTOM_RW
@@ -36,3 +39,5 @@
if (ret)
printf("PHYSDEVOP_APIC_WRITE ret %d\n", ret);
}
+
+#endif /* !_XEN_I82093VAR_H_ */
Home |
Main Index |
Thread Index |
Old Index