summaryrefslogtreecommitdiff
path: root/sys/arch/mips/include
diff options
context:
space:
mode:
authorsimonb <simonb@NetBSD.org>2002-11-30 01:52:31 +0000
committersimonb <simonb@NetBSD.org>2002-11-30 01:52:31 +0000
commitfdd1e3b71597fb327fdaefb048255c2adca8bfee (patch)
tree65159ad8d9631ab6ac7bffdcc0156f67a283041a /sys/arch/mips/include
parentd644dd9c43ab3430eef440b665723c2b4523b103 (diff)
Standardise on #ifdef _MIPS_<header>_H_ for multiple inclusion tests.
Diffstat (limited to 'sys/arch/mips/include')
-rw-r--r--sys/arch/mips/include/bsd-aout.h8
-rw-r--r--sys/arch/mips/include/bswap.h8
-rw-r--r--sys/arch/mips/include/limits.h8
-rw-r--r--sys/arch/mips/include/pmap.h8
-rw-r--r--sys/arch/mips/include/reg.h8
5 files changed, 20 insertions, 20 deletions
diff --git a/sys/arch/mips/include/bsd-aout.h b/sys/arch/mips/include/bsd-aout.h
index 15e854f41f8..4cf519c14d1 100644
--- a/sys/arch/mips/include/bsd-aout.h
+++ b/sys/arch/mips/include/bsd-aout.h
@@ -1,11 +1,11 @@
-/* $NetBSD: bsd-aout.h,v 1.4 1999/04/24 08:10:33 simonb Exp $ */
+/* $NetBSD: bsd-aout.h,v 1.5 2002/11/30 01:52:31 simonb Exp $ */
/* bsd-aout.h
4.4bsd a.out format, for backwards compatibility... */
-#ifndef __MACHINE_BSD_AOUT_H__
-#define __MACHINE_BSD_AOUT_H__
+#ifndef __MIPS_BSD_AOUT_H__
+#define __MIPS_BSD_AOUT_H__
#define BSD_OMAGIC 0407 /* old impure format */
#define BSD_NMAGIC 0410 /* read-only text */
#define BSD_ZMAGIC 0413 /* demand load format */
@@ -32,4 +32,4 @@ struct bsd_aouthdr {
#define _AOUT_INCLUDE_
#include <nlist.h>
#endif /* _KERNEL */
-#endif /* __MACHINE_BSD_AOUT_H__ */
+#endif /* __MIPS_BSD_AOUT_H__ */
diff --git a/sys/arch/mips/include/bswap.h b/sys/arch/mips/include/bswap.h
index 09b4e844102..26f9835e907 100644
--- a/sys/arch/mips/include/bswap.h
+++ b/sys/arch/mips/include/bswap.h
@@ -1,9 +1,9 @@
-/* $NetBSD: bswap.h,v 1.2 1999/08/21 05:39:53 simonb Exp $ */
+/* $NetBSD: bswap.h,v 1.3 2002/11/30 01:52:32 simonb Exp $ */
-#ifndef _MACHINE_BSWAP_H_
-#define _MACHINE_BSWAP_H_
+#ifndef _MIPS_BSWAP_H_
+#define _MIPS_BSWAP_H_
#define __BSWAP_RENAME
#include <sys/bswap.h>
-#endif /* !_MACHINE_BSWAP_H_ */
+#endif /* !_MIPS_BSWAP_H_ */
diff --git a/sys/arch/mips/include/limits.h b/sys/arch/mips/include/limits.h
index 15084b3ab3d..11140d1c7fb 100644
--- a/sys/arch/mips/include/limits.h
+++ b/sys/arch/mips/include/limits.h
@@ -1,4 +1,4 @@
-/* $NetBSD: limits.h,v 1.16 2002/11/03 20:02:39 thorpej Exp $ */
+/* $NetBSD: limits.h,v 1.17 2002/11/30 01:52:32 simonb Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -35,8 +35,8 @@
* @(#)limits.h 8.3 (Berkeley) 1/4/94
*/
-#ifndef _MIPS_MACHINE_LIMITS_H_
-#define _MIPS_MACHINE_LIMITS_H_
+#ifndef _MIPS_LIMITS_H_
+#define _MIPS_LIMITS_H_
#define CHAR_BIT 8 /* number of bits in a char */
#define MB_LEN_MAX 32 /* Allow 31 bit UTF2 */
@@ -131,4 +131,4 @@
#define FLT_MIN 1.17549435E-38F
#endif
-#endif /* _MIPS_MACHINE_LIMITS_H_ */
+#endif /* _MIPS_LIMITS_H_ */
diff --git a/sys/arch/mips/include/pmap.h b/sys/arch/mips/include/pmap.h
index f12ee3642c7..3fce0fe1c72 100644
--- a/sys/arch/mips/include/pmap.h
+++ b/sys/arch/mips/include/pmap.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.40 2002/09/22 07:53:45 chs Exp $ */
+/* $NetBSD: pmap.h,v 1.41 2002/11/30 01:52:32 simonb Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
@@ -39,8 +39,8 @@
* @(#)pmap.h 8.1 (Berkeley) 6/10/93
*/
-#ifndef _PMAP_MACHINE_
-#define _PMAP_MACHINE_
+#ifndef _MIPS_PMAP_H_
+#define _MIPS_PMAP_H_
#include <mips/cpuregs.h> /* for KSEG0 below */
@@ -157,4 +157,4 @@ void pmap_prefer(vaddr_t, vaddr_t *);
#define PMAP_CCA_FOR_PA(pa) 2 /* uncached */
#endif /* _KERNEL */
-#endif /* _PMAP_MACHINE_ */
+#endif /* _MIPS_PMAP_H_ */
diff --git a/sys/arch/mips/include/reg.h b/sys/arch/mips/include/reg.h
index 9999edf9973..7f9b31302dc 100644
--- a/sys/arch/mips/include/reg.h
+++ b/sys/arch/mips/include/reg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: reg.h,v 1.9 1999/01/14 18:45:45 castor Exp $ */
+/* $NetBSD: reg.h,v 1.10 2002/11/30 01:52:32 simonb Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -42,8 +42,8 @@
* @(#)reg.h 8.2 (Berkeley) 1/11/94
*/
-#ifndef _MACHINE_REG_H_
-#define _MACHINE_REG_H_
+#ifndef _MIPS_REG_H_
+#define _MIPS_REG_H_
struct reg {
@@ -54,4 +54,4 @@ struct fpreg {
mips_fpreg_t r_regs[33];
};
-#endif /*_MACHINE_REG_H_*/
+#endif /*_MIPS_REG_H_*/