Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/acddf7517436
branches:  trunk
changeset: 808908:acddf7517436
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jun 07 07:14:47 2015 +0000

description:
Multiple inclusion protection

diffstat:

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

diffs (25 lines):

diff -r 2cf33bfccd69 -r acddf7517436 sys/arch/mips/include/cache.h
--- a/sys/arch/mips/include/cache.h     Sun Jun 07 06:08:37 2015 +0000
+++ b/sys/arch/mips/include/cache.h     Sun Jun 07 07:14:47 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cache.h,v 1.11 2011/03/15 07:39:22 matt Exp $  */
+/*     $NetBSD: cache.h,v 1.12 2015/06/07 07:14:47 matt Exp $  */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -35,6 +35,9 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef _MIPS_CACHE_H_
+#define _MIPS_CACHE_H_
+
 /*
  * Cache operations.
  *
@@ -287,3 +290,5 @@
 void   mips_dcache_compute_align(void);
 
 #include <mips/cache_mipsNN.h>
+
+#endif /* _MIPS_CACHE_H_ */



Home | Main Index | Thread Index | Old Index