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 Standardise on #ifdef _MIPS_<header>_H...
details: https://anonhg.NetBSD.org/src/rev/366194bf404a
branches: trunk
changeset: 539964:366194bf404a
user: simonb <simonb%NetBSD.org@localhost>
date: Sat Nov 30 01:52:31 2002 +0000
description:
Standardise on #ifdef _MIPS_<header>_H_ for multiple inclusion tests.
diffstat:
sys/arch/mips/include/bsd-aout.h | 8 ++++----
sys/arch/mips/include/bswap.h | 8 ++++----
sys/arch/mips/include/limits.h | 8 ++++----
sys/arch/mips/include/pmap.h | 8 ++++----
sys/arch/mips/include/reg.h | 8 ++++----
5 files changed, 20 insertions(+), 20 deletions(-)
diffs (119 lines):
diff -r 111aa0c21f87 -r 366194bf404a sys/arch/mips/include/bsd-aout.h
--- a/sys/arch/mips/include/bsd-aout.h Sat Nov 30 01:49:18 2002 +0000
+++ b/sys/arch/mips/include/bsd-aout.h Sat Nov 30 01:52:31 2002 +0000
@@ -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 @@
#define _AOUT_INCLUDE_
#include <nlist.h>
#endif /* _KERNEL */
-#endif /* __MACHINE_BSD_AOUT_H__ */
+#endif /* __MIPS_BSD_AOUT_H__ */
diff -r 111aa0c21f87 -r 366194bf404a sys/arch/mips/include/bswap.h
--- a/sys/arch/mips/include/bswap.h Sat Nov 30 01:49:18 2002 +0000
+++ b/sys/arch/mips/include/bswap.h Sat Nov 30 01:52:31 2002 +0000
@@ -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 -r 111aa0c21f87 -r 366194bf404a sys/arch/mips/include/limits.h
--- a/sys/arch/mips/include/limits.h Sat Nov 30 01:49:18 2002 +0000
+++ b/sys/arch/mips/include/limits.h Sat Nov 30 01:52:31 2002 +0000
@@ -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 -r 111aa0c21f87 -r 366194bf404a sys/arch/mips/include/pmap.h
--- a/sys/arch/mips/include/pmap.h Sat Nov 30 01:49:18 2002 +0000
+++ b/sys/arch/mips/include/pmap.h Sat Nov 30 01:52:31 2002 +0000
@@ -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 @@
#define PMAP_CCA_FOR_PA(pa) 2 /* uncached */
#endif /* _KERNEL */
-#endif /* _PMAP_MACHINE_ */
+#endif /* _MIPS_PMAP_H_ */
diff -r 111aa0c21f87 -r 366194bf404a sys/arch/mips/include/reg.h
--- a/sys/arch/mips/include/reg.h Sat Nov 30 01:49:18 2002 +0000
+++ b/sys/arch/mips/include/reg.h Sat Nov 30 01:52:31 2002 +0000
@@ -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 @@
mips_fpreg_t r_regs[33];
};
-#endif /*_MACHINE_REG_H_*/
+#endif /*_MIPS_REG_H_*/
Home |
Main Index |
Thread Index |
Old Index