summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-24 14:48:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-24 14:48:58 +0000
commit70a5596c7f5b8f2f867f57a8d7903f77cf6f9dcb (patch)
treefb463e5c6d3198ff6a7c2fae0ce5f9602e2b2f17 /sys/arch
parentb6f6caabab0ed7537acc1845c3753048492c846b (diff)
multiple inclusion protection; brenner@umr.edu
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/include/limits.h7
-rw-r--r--sys/arch/amiga/include/limits.h4
-rw-r--r--sys/arch/arc/include/limits.h7
-rw-r--r--sys/arch/atari/include/limits.h3
-rw-r--r--sys/arch/hp300/include/limits.h7
-rw-r--r--sys/arch/i386/include/limits.h5
-rw-r--r--sys/arch/mac68k/include/limits.h7
-rw-r--r--sys/arch/mvme68k/include/limits.h7
-rw-r--r--sys/arch/mvme88k/include/limits.h7
-rw-r--r--sys/arch/pc532/include/limits.h5
-rw-r--r--sys/arch/pmax/include/limits.h5
-rw-r--r--sys/arch/powerpc/include/limits.h7
-rw-r--r--sys/arch/sparc/include/limits.h5
-rw-r--r--sys/arch/sun3/include/limits.h5
-rw-r--r--sys/arch/vax/include/limits.h7
-rw-r--r--sys/arch/wgrisc/include/limits.h7
16 files changed, 83 insertions, 12 deletions
diff --git a/sys/arch/alpha/include/limits.h b/sys/arch/alpha/include/limits.h
index 1d2799a3f06..56517ae1985 100644
--- a/sys/arch/alpha/include/limits.h
+++ b/sys/arch/alpha/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.4 1996/10/30 22:39:12 niklas Exp $ */
+/* $OpenBSD: limits.h,v 1.5 1997/07/24 14:48:44 deraadt Exp $ */
/* $NetBSD: limits.h,v 1.2 1996/04/12 01:38:25 cgd Exp $ */
/*
@@ -36,6 +36,9 @@
* @(#)limits.h 8.3 (Berkeley) 1/4/94
*/
+#ifndef _MACHINE_LIMITS_H_
+#define _MACHINE_LIMITS_H_
+
#define CHAR_BIT 8 /* number of bits in a char */
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
@@ -94,3 +97,5 @@
#define FLT_MAX 3.40282347E+38F
#define FLT_MIN 1.17549435E-38F
#endif
+
+#endif /* _MACHINE_LIMITS_H_ */
diff --git a/sys/arch/amiga/include/limits.h b/sys/arch/amiga/include/limits.h
index b02a1612c80..7d20c4f440b 100644
--- a/sys/arch/amiga/include/limits.h
+++ b/sys/arch/amiga/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.2 1997/01/16 09:25:56 niklas Exp $ */
+/* $OpenBSD: limits.h,v 1.3 1997/07/24 14:48:45 deraadt Exp $ */
/* $NetBSD: limits.h,v 1.8 1994/10/26 02:06:16 cgd Exp $ */
#ifndef _MACHINE_LIMITS_H_
@@ -6,4 +6,4 @@
#include <m68k/limits.h>
-#endif
+#endif /* _MACHINE_LIMITS_H_ */
diff --git a/sys/arch/arc/include/limits.h b/sys/arch/arc/include/limits.h
index 92211965129..63f5ea45202 100644
--- a/sys/arch/arc/include/limits.h
+++ b/sys/arch/arc/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.1 1996/06/24 09:07:17 pefo Exp $ */
+/* $OpenBSD: limits.h,v 1.2 1997/07/24 14:48:46 deraadt Exp $ */
/* $NetBSD: limits.h,v 1.8 1995/03/28 18:19:16 jtc Exp $ */
/*
@@ -36,6 +36,9 @@
* @(#)limits.h 8.3 (Berkeley) 1/4/94
*/
+#ifndef _MACHINE_LIMITS_H_
+#define _MACHINE_LIMITS_H_
+
#define CHAR_BIT 8 /* number of bits in a char */
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
@@ -99,3 +102,5 @@
#define FLT_MAX 3.40282347E+38F
#define FLT_MIN 1.17549435E-38F
#endif
+
+#endif /* _MACHINE_LIMITS_H_ */
diff --git a/sys/arch/atari/include/limits.h b/sys/arch/atari/include/limits.h
index 027cc313e78..e251094c40a 100644
--- a/sys/arch/atari/include/limits.h
+++ b/sys/arch/atari/include/limits.h
@@ -5,4 +5,5 @@
#include <m68k/limits.h>
-#endif
+#endif /* _MACHINE_LIMITS_H_ */
+
diff --git a/sys/arch/hp300/include/limits.h b/sys/arch/hp300/include/limits.h
index 1ed49de2d47..0ee861ad0fe 100644
--- a/sys/arch/hp300/include/limits.h
+++ b/sys/arch/hp300/include/limits.h
@@ -1,5 +1,10 @@
-/* $OpenBSD: limits.h,v 1.2 1997/01/12 15:13:37 downsj Exp $ */
+/* $OpenBSD: limits.h,v 1.3 1997/07/24 14:48:48 deraadt Exp $ */
/* $NetBSD: limits.h,v 1.7 1994/10/26 07:26:27 cgd Exp $ */
+#ifndef _MACHINE_LIMITS_H_
+#define _MACHINE_LIMITS_H_
+
/* Just use the common m68k definition */
#include <m68k/limits.h>
+
+#endif /* _MACHINE_LIMITS_H_ */
diff --git a/sys/arch/i386/include/limits.h b/sys/arch/i386/include/limits.h
index 2e86060f891..a62bad77823 100644
--- a/sys/arch/i386/include/limits.h
+++ b/sys/arch/i386/include/limits.h
@@ -35,6 +35,9 @@
* @(#)limits.h 7.2 (Berkeley) 6/28/90
*/
+#ifndef _MACHINE_LIMITS_H_
+#define _MACHINE_LIMITS_H_
+
#define CHAR_BIT 8 /* number of bits in a char */
#define MB_LEN_MAX 1 /* no multibyte characters */
@@ -82,3 +85,5 @@
#define FLT_MAX 3.40282347E+38F
#define FLT_MIN 1.17549435E-38F
#endif
+
+#endif /* _MACHINE_LIMITS_H_ */
diff --git a/sys/arch/mac68k/include/limits.h b/sys/arch/mac68k/include/limits.h
index 9571ea73782..a679799208a 100644
--- a/sys/arch/mac68k/include/limits.h
+++ b/sys/arch/mac68k/include/limits.h
@@ -1,4 +1,9 @@
-/* $OpenBSD: limits.h,v 1.2 1996/05/26 18:35:55 briggs Exp $ */
+/* $OpenBSD: limits.h,v 1.3 1997/07/24 14:48:49 deraadt Exp $ */
/* $NetBSD: limits.h,v 1.6 1994/10/26 08:46:34 cgd Exp $ */
+#ifndef _MACHINE_LIMITS_H_
+#define _MACHINE_LIMITS_H_
+
#include <m68k/limits.h>
+
+#endif /* _MACHINE_LIMITS_H_ */
diff --git a/sys/arch/mvme68k/include/limits.h b/sys/arch/mvme68k/include/limits.h
index f5d7c035138..598d5e27f86 100644
--- a/sys/arch/mvme68k/include/limits.h
+++ b/sys/arch/mvme68k/include/limits.h
@@ -1,4 +1,9 @@
-/* $OpenBSD: limits.h,v 1.3 1996/04/28 10:56:21 deraadt Exp $ */
+/* $OpenBSD: limits.h,v 1.4 1997/07/24 14:48:50 deraadt Exp $ */
+
+#ifndef _MACHINE_LIMITS_H_
+#define _MACHINE_LIMITS_H_
/* Just use the common m68k definition */
#include <m68k/limits.h>
+
+#endif /* _MACHINE_LIMITS_H_ */
diff --git a/sys/arch/mvme88k/include/limits.h b/sys/arch/mvme88k/include/limits.h
index 7633e58d2ae..a7282193b74 100644
--- a/sys/arch/mvme88k/include/limits.h
+++ b/sys/arch/mvme88k/include/limits.h
@@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* from: @(#)limits.h 8.3 (Berkeley) 1/4/94
- * $Id: limits.h,v 1.3 1997/03/03 20:21:01 rahnds Exp $
+ * $Id: limits.h,v 1.4 1997/07/24 14:48:51 deraadt Exp $
*/
+#ifndef _MACHINE_LIMITS_H_
+#define _MACHINE_LIMITS_H_
+
#define CHAR_BIT 8 /* number of bits in a char */
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
@@ -80,3 +83,5 @@
#endif /* !_POSIX_SOURCE */
#endif /* !_ANSI_SOURCE */
+
+#endif /* _MACHINE_LIMITS_H_ */
diff --git a/sys/arch/pc532/include/limits.h b/sys/arch/pc532/include/limits.h
index 4c53bb0489f..5e77d0d9dc0 100644
--- a/sys/arch/pc532/include/limits.h
+++ b/sys/arch/pc532/include/limits.h
@@ -35,6 +35,9 @@
* @(#)limits.h 7.2 (Berkeley) 6/28/90
*/
+#ifndef _MACHINE_LIMITS_H_
+#define _MACHINE_LIMITS_H_
+
#define CHAR_BIT 8 /* number of bits in a char */
#define MB_LEN_MAX 1 /* no multibyte characters */
@@ -82,3 +85,5 @@
#define FLT_MAX 3.40282347E+38F
#define FLT_MIN 1.17549435E-38F
#endif
+
+#endif /* _MACHINE_LIMITS_H_ */
diff --git a/sys/arch/pmax/include/limits.h b/sys/arch/pmax/include/limits.h
index 01047a06e1b..e791ef6b3e2 100644
--- a/sys/arch/pmax/include/limits.h
+++ b/sys/arch/pmax/include/limits.h
@@ -35,6 +35,9 @@
* @(#)limits.h 8.3 (Berkeley) 1/4/94
*/
+#ifndef _MACHINE_LIMITS_H_
+#define _MACHINE_LIMITS_H_
+
#define CHAR_BIT 8 /* number of bits in a char */
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
@@ -100,3 +103,5 @@
#define CLK_TCK 60 /* ticks per second */
#endif
/* End of stuff from the NetBSD mips tree TTTTT */
+
+#endif /* _MACHINE_LIMITS_H_ */
diff --git a/sys/arch/powerpc/include/limits.h b/sys/arch/powerpc/include/limits.h
index 15852500b33..4ced24995c8 100644
--- a/sys/arch/powerpc/include/limits.h
+++ b/sys/arch/powerpc/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.2 1996/12/28 06:25:16 rahnds Exp $ */
+/* $OpenBSD: limits.h,v 1.3 1997/07/24 14:48:54 deraadt Exp $ */
/* $NetBSD: limits.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */
/*-
@@ -32,6 +32,9 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef _MACHINE_LIMITS_H_
+#define _MACHINE_LIMITS_H_
+
#define CHAR_BIT 8 /* bits per char */
#define MB_LEN_MAX 1 /* no multibyte characters */
#define CHAR_MIN 0 /* min value in char */
@@ -62,3 +65,5 @@
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
#endif /* !_ANSI_SOURCE */
+
+#endif /* _MACHINE_LIMITS_H_ */
diff --git a/sys/arch/sparc/include/limits.h b/sys/arch/sparc/include/limits.h
index d8156a96352..172e9a95d3a 100644
--- a/sys/arch/sparc/include/limits.h
+++ b/sys/arch/sparc/include/limits.h
@@ -35,6 +35,9 @@
* @(#)limits.h 8.3 (Berkeley) 1/4/94
*/
+#ifndef _MACHINE_LIMITS_H_
+#define _MACHINE_LIMITS_H_
+
#define CHAR_BIT 8 /* number of bits in a char */
#define MB_LEN_MAX 1 /* no multibyte characters */
@@ -84,3 +87,5 @@
#define FLT_MAX 3.40282347E+38F
#define FLT_MIN 1.17549435E-38F
#endif
+
+#endif /* _MACHINE_LIMITS_H_ */
diff --git a/sys/arch/sun3/include/limits.h b/sys/arch/sun3/include/limits.h
index da2f10e97d7..27fb2703dfe 100644
--- a/sys/arch/sun3/include/limits.h
+++ b/sys/arch/sun3/include/limits.h
@@ -1,3 +1,8 @@
/* $NetBSD: limits.h,v 1.6 1994/11/21 21:33:49 gwr Exp $ */
+#ifndef _MACHINE_LIMITS_H_
+#define _MACHINE_LIMITS_H_
+
#include <m68k/limits.h>
+
+#endif /* _MACHINE_LIMITS_H_ */
diff --git a/sys/arch/vax/include/limits.h b/sys/arch/vax/include/limits.h
index 66e7d55e940..c4b7d702390 100644
--- a/sys/arch/vax/include/limits.h
+++ b/sys/arch/vax/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.3 1997/05/29 00:04:43 niklas Exp $ */
+/* $OpenBSD: limits.h,v 1.4 1997/07/24 14:48:56 deraadt Exp $ */
/* $NetBSD: limits.h,v 1.6 1995/12/31 15:05:19 ragge Exp $ */
/*
@@ -36,6 +36,9 @@
* @(#)limits.h 7.2 (Berkeley) 6/28/90
*/
+#ifndef _MACHINE_LIMITS_H_
+#define _MACHINE_LIMITS_H_
+
#define CHAR_BIT 8 /* number of bits in a char */
#define MB_LEN_MAX 1 /* no multibyte characters */
@@ -83,3 +86,5 @@
#define FLT_MAX 1.70141173E+38F
#define FLT_MIN 2.93873588E-39F
#endif
+
+#endif /* _MACHINE_LIMITS_H_ */
diff --git a/sys/arch/wgrisc/include/limits.h b/sys/arch/wgrisc/include/limits.h
index 67584eab9ea..44fc011c9a7 100644
--- a/sys/arch/wgrisc/include/limits.h
+++ b/sys/arch/wgrisc/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.1 1997/02/06 16:02:43 pefo Exp $ */
+/* $OpenBSD: limits.h,v 1.2 1997/07/24 14:48:57 deraadt Exp $ */
/* $NetBSD: limits.h,v 1.8 1995/03/28 18:19:16 jtc Exp $ */
/*
@@ -36,6 +36,9 @@
* @(#)limits.h 8.3 (Berkeley) 1/4/94
*/
+#ifndef _MACHINE_LIMITS_H_
+#define _MACHINE_LIMITS_H_
+
#define CHAR_BIT 8 /* number of bits in a char */
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
@@ -99,3 +102,5 @@
#define FLT_MAX 3.40282347E+38F
#define FLT_MIN 1.17549435E-38F
#endif
+
+#endif /* _MACHINE_LIMITS_H_ */