Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/0093af41cdb7
branches:  trunk
changeset: 537797:0093af41cdb7
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sat Oct 05 21:27:52 2002 +0000

description:
Protect against multiple inclusion.

diffstat:

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

diffs (25 lines):

diff -r bf36d75db3a3 -r 0093af41cdb7 sys/arch/i386/include/tss.h
--- a/sys/arch/i386/include/tss.h       Sat Oct 05 21:27:35 2002 +0000
+++ b/sys/arch/i386/include/tss.h       Sat Oct 05 21:27:52 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tss.h,v 1.6 1995/10/11 04:20:28 mycroft Exp $  */
+/*     $NetBSD: tss.h,v 1.7 2002/10/05 21:27:52 fvdl Exp $     */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -38,6 +38,9 @@
  *     @(#)tss.h       5.4 (Berkeley) 1/18/91
  */
 
+#ifndef _I386_TSS_H_
+#define _I386_TSS_H_
+
 /*
  * Intel 386 Context Data Type
  */
@@ -70,3 +73,5 @@
        int     tss_ldt;        /* LDT selector */
        int     tss_ioopt;      /* options and I/O permission map offset */
 };
+
+#endif /* #ifndef _I386_TSS_H_ */



Home | Main Index | Thread Index | Old Index