Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/cobalt/include Protect against multiple inclusion.



details:   https://anonhg.NetBSD.org/src/rev/d66a6a0ae879
branches:  trunk
changeset: 551813:d66a6a0ae879
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Sep 12 15:03:24 2003 +0000

description:
Protect against multiple inclusion.

diffstat:

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

diffs (25 lines):

diff -r 70416f823b73 -r d66a6a0ae879 sys/arch/cobalt/include/intr.h
--- a/sys/arch/cobalt/include/intr.h    Fri Sep 12 14:59:11 2003 +0000
+++ b/sys/arch/cobalt/include/intr.h    Fri Sep 12 15:03:24 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.h,v 1.13 2003/09/12 14:59:15 tsutsui Exp $        */
+/*     $NetBSD: intr.h,v 1.14 2003/09/12 15:03:24 tsutsui Exp $        */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang.  All rights reserved.
@@ -25,6 +25,9 @@
  * SUCH DAMAGE.
  */
 
+#ifndef        _COBALT_INTR_H_
+#define        _COBALT_INTR_H_
+
 #define        IPL_NONE        0       /* Disable only this interrupt. */
 #define        IPL_BIO         1       /* Disable block I/O interrupts. */
 #define        IPL_NET         2       /* Disable network interrupts. */
@@ -93,3 +96,5 @@
 
 #endif /* !_LOCORE */
 #endif /* _LOCORE */
+
+#endif /* !_COBALT_INTR_H_ */



Home | Main Index | Thread Index | Old Index