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 Add multiple-inclusion protection.



details:   https://anonhg.NetBSD.org/src/rev/111aa0c21f87
branches:  trunk
changeset: 539963:111aa0c21f87
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Nov 30 01:49:18 2002 +0000

description:
Add multiple-inclusion protection.

diffstat:

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

diffs (24 lines):

diff -r 260494b9269e -r 111aa0c21f87 sys/arch/mips/include/pcb.h
--- a/sys/arch/mips/include/pcb.h       Sat Nov 30 01:37:29 2002 +0000
+++ b/sys/arch/mips/include/pcb.h       Sat Nov 30 01:49:18 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcb.h,v 1.14 2002/11/24 07:26:04 simonb Exp $  */
+/*     $NetBSD: pcb.h,v 1.15 2002/11/30 01:49:18 simonb Exp $  */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -42,6 +42,9 @@
  *     @(#)pcb.h       8.1 (Berkeley) 6/10/93
  */
 
+#ifndef _MIPS_REG_H_
+#define        _MIPS_REG_H_
+
 #include <mips/reg.h>
 
 /*
@@ -67,3 +70,4 @@
 #ifdef _KERNEL
 #define        PCB_FSR(pcb)    ((pcb)->pcb_fpregs.r_regs[FSR - FPBASE])
 #endif
+#endif /*_MIPS_REG_H_*/



Home | Main Index | Thread Index | Old Index