Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/mainbus Add multiple inclusion protection.



details:   https://anonhg.NetBSD.org/src/rev/2bbd68d1499c
branches:  trunk
changeset: 781403:2bbd68d1499c
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Sep 04 00:21:08 2012 +0000

description:
Add multiple inclusion protection.

diffstat:

 sys/arch/arm/mainbus/mainbus.h |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 2915d0b4634f -r 2bbd68d1499c sys/arch/arm/mainbus/mainbus.h
--- a/sys/arch/arm/mainbus/mainbus.h    Tue Sep 04 00:19:48 2012 +0000
+++ b/sys/arch/arm/mainbus/mainbus.h    Tue Sep 04 00:21:08 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mainbus.h,v 1.4 2012/08/29 23:16:35 matt Exp $ */
+/* $NetBSD: mainbus.h,v 1.5 2012/09/04 00:21:08 matt Exp $ */
 
 /*
  * Copyright (c) 1994,1995 Mark Brinicombe.
@@ -41,6 +41,9 @@
  * Created      : 15/12/94
  */
 
+#ifndef _ARM_MAINBUS_MAINBUS_H_
+#define _ARM_MAINBUS_MAINBUS_H_
+
 #include <sys/bus.h>
 
 /*
@@ -58,4 +61,4 @@
        bus_space_tag_t mb_iot;         /* bus space tag */
 };
 
-/* End of mainbus.h */
+#endif /* _ARM_MAINBUS_MAINBUS_H_ */



Home | Main Index | Thread Index | Old Index