summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/alpha/include/limits.h5
-rw-r--r--sys/arch/arm32/include/limits.h3
-rw-r--r--sys/arch/hppa/include/limits.h5
-rw-r--r--sys/arch/i386/include/limits.h3
-rw-r--r--sys/arch/kbus/include/limits.h3
-rw-r--r--sys/arch/m68k/include/limits.h5
-rw-r--r--sys/arch/mips/include/limits.h5
-rw-r--r--sys/arch/mvme88k/include/limits.h7
-rw-r--r--sys/arch/pc532/include/limits.h3
-rw-r--r--sys/arch/powerpc/include/limits.h5
-rw-r--r--sys/arch/sparc/include/limits.h5
-rw-r--r--sys/arch/vax/include/limits.h5
-rw-r--r--sys/arch/wgrisc/include/limits.h5
13 files changed, 49 insertions, 10 deletions
diff --git a/sys/arch/alpha/include/limits.h b/sys/arch/alpha/include/limits.h
index e209ad8bc0a..3ae9bae45cc 100644
--- a/sys/arch/alpha/include/limits.h
+++ b/sys/arch/alpha/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.6 1998/03/22 21:15:07 millert Exp $ */
+/* $OpenBSD: limits.h,v 1.7 2000/07/31 20:06:01 millert Exp $ */
/* $NetBSD: limits.h,v 1.2 1996/04/12 01:38:25 cgd Exp $ */
/*
@@ -84,6 +84,9 @@
#define UQUAD_MAX (ULONG_MAX) /* max value for a uquad_t */
#define QUAD_MAX (LONG_MAX) /* max value for a quad_t */
#define QUAD_MIN (LONG_MIN) /* min value for a quad_t */
+#define ULLONG_MAX (ULONG_MAX) /* max value for unsigned long long */
+#define LLONG_MAX (LONG_MAX) /* max value for a long long */
+#define LLONG_MIN (LONG_MIN) /* min value for a long long */
#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
#endif /* !_ANSI_SOURCE */
diff --git a/sys/arch/arm32/include/limits.h b/sys/arch/arm32/include/limits.h
index 309d8d2e2e6..0f5165be066 100644
--- a/sys/arch/arm32/include/limits.h
+++ b/sys/arch/arm32/include/limits.h
@@ -72,6 +72,9 @@
#define UQUAD_MAX 0xffffffffffffffffLL /* max unsigned quad */
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
+#define ULLONG_MAX (UQUAD_MAX) /* max value for unsigned long long */
+#define LLONG_MAX (QUAD_MAX) /* max value for a signed long long */
+#define LLONG_MIN (QUAD_MIN) /* min value for a signed long long */
#endif /* !_POSIX_SOURCE */
#endif /* !_ANSI_SOURCE */
diff --git a/sys/arch/hppa/include/limits.h b/sys/arch/hppa/include/limits.h
index e4eadb27e25..7f1e2b1e2a7 100644
--- a/sys/arch/hppa/include/limits.h
+++ b/sys/arch/hppa/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.1 1998/06/23 19:45:24 mickey Exp $ */
+/* $OpenBSD: limits.h,v 1.2 2000/07/31 20:06:02 millert Exp $ */
/*
* Copyright (c) 1992-1994, The University of Utah and
@@ -109,6 +109,9 @@
/* max value for a quad_t */
#define QUAD_MAX ((quad_t)(UQUAD_MAX >> 1))
#define QUAD_MIN (-QUAD_MAX-1) /* min value for a quad_t */
+#define ULLONG_MAX (UQUAD_MAX) /* max value for unsigned long long */
+#define LLONG_MAX (QUAD_MAX) /* max value for a signed long long */
+#define LLONG_MIN (QUAD_MIN) /* min value for a signed long long */
#endif /* !_POSIX_SOURCE */
#endif /* !_ANSI_SOURCE */
diff --git a/sys/arch/i386/include/limits.h b/sys/arch/i386/include/limits.h
index 9e2a68baa82..66185b21c17 100644
--- a/sys/arch/i386/include/limits.h
+++ b/sys/arch/i386/include/limits.h
@@ -72,6 +72,9 @@
#define UQUAD_MAX 0xffffffffffffffffULL /* max unsigned quad */
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
+#define ULLONG_MAX (UQUAD_MAX) /* max value for unsigned long long */
+#define LLONG_MAX (QUAD_MAX) /* max value for a signed long long */
+#define LLONG_MIN (QUAD_MIN) /* min value for a signed long long */
#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
#endif /* !_ANSI_SOURCE */
diff --git a/sys/arch/kbus/include/limits.h b/sys/arch/kbus/include/limits.h
index 3d24c1f8b44..75350ab4fca 100644
--- a/sys/arch/kbus/include/limits.h
+++ b/sys/arch/kbus/include/limits.h
@@ -71,6 +71,9 @@
/* max value for a quad_t */
#define QUAD_MAX ((quad_t)(UQUAD_MAX >> 1))
#define QUAD_MIN (-QUAD_MAX-1) /* min value for a quad_t */
+#define ULLONG_MAX (UQUAD_MAX) /* max value for unsigned long long */
+#define LLONG_MAX (QUAD_MAX) /* max value for a signed long long */
+#define LLONG_MIN (QUAD_MIN) /* min value for a signed long long */
#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
#endif /* !_ANSI_SOURCE */
diff --git a/sys/arch/m68k/include/limits.h b/sys/arch/m68k/include/limits.h
index f509ff308bb..b4f7cdc6ad1 100644
--- a/sys/arch/m68k/include/limits.h
+++ b/sys/arch/m68k/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.3 1998/03/22 21:15:14 millert Exp $ */
+/* $OpenBSD: limits.h,v 1.4 2000/07/31 20:06:02 millert Exp $ */
/* $NetBSD: limits.h,v 1.9 1994/10/26 07:50:48 cgd Exp $ */
/*
@@ -70,6 +70,9 @@
#define UQUAD_MAX 0xffffffffffffffffULL /* max unsigned quad */
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
+#define ULLONG_MAX (UQUAD_MAX) /* max value for unsigned long long */
+#define LLONG_MAX (QUAD_MAX) /* max value for a signed long long */
+#define LLONG_MIN (QUAD_MIN) /* min value for a signed long long */
#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
#endif /* !_ANSI_SOURCE */
diff --git a/sys/arch/mips/include/limits.h b/sys/arch/mips/include/limits.h
index 64c773e03f9..2eb37fd1adf 100644
--- a/sys/arch/mips/include/limits.h
+++ b/sys/arch/mips/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.3 1999/01/27 04:46:05 imp Exp $ */
+/* $OpenBSD: limits.h,v 1.4 2000/07/31 20:06:02 millert Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -88,6 +88,9 @@
/* max value for a quad_t */
#define QUAD_MAX ((quad_t)(UQUAD_MAX >> 1))
#define QUAD_MIN (-QUAD_MAX-1) /* min value for a quad_t */
+#define ULLONG_MAX (UQUAD_MAX) /* max value for unsigned long long */
+#define LLONG_MAX (QUAD_MAX) /* max value for a signed long long */
+#define LLONG_MIN (QUAD_MIN) /* min value for a signed long long */
#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
#endif /* !_ANSI_SOURCE */
diff --git a/sys/arch/mvme88k/include/limits.h b/sys/arch/mvme88k/include/limits.h
index 9a179180f49..b6c7e8908c2 100644
--- a/sys/arch/mvme88k/include/limits.h
+++ b/sys/arch/mvme88k/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.7 1999/02/09 06:36:26 smurph Exp $ */
+/* $OpenBSD: limits.h,v 1.8 2000/07/31 20:06:03 millert Exp $ */
/*
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)limits.h 8.3 (Berkeley) 1/4/94
- * $Id: limits.h,v 1.7 1999/02/09 06:36:26 smurph Exp $
+ * $Id: limits.h,v 1.8 2000/07/31 20:06:03 millert Exp $
*/
#ifndef _MACHINE_LIMITS_H_
@@ -84,6 +84,9 @@
/* max value for a quad_t */
#define QUAD_MAX ((quad_t)(UQUAD_MAX >> 1))
#define QUAD_MIN (-QUAD_MAX-1) /* min value for a quad_t */
+#define ULLONG_MAX (UQUAD_MAX) /* max value for unsigned long long */
+#define LLONG_MAX (QUAD_MAX) /* max value for a signed long long */
+#define LLONG_MIN (QUAD_MIN) /* min value for a signed long long */
#endif /* !_POSIX_SOURCE */
#endif /* !_ANSI_SOURCE */
diff --git a/sys/arch/pc532/include/limits.h b/sys/arch/pc532/include/limits.h
index 7237e570955..c5899232d8a 100644
--- a/sys/arch/pc532/include/limits.h
+++ b/sys/arch/pc532/include/limits.h
@@ -72,6 +72,9 @@
#define UQUAD_MAX 0xffffffffffffffffULL /* max unsigned quad */
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
+#define ULLONG_MAX (UQUAD_MAX) /* max value for unsigned long long */
+#define LLONG_MAX (QUAD_MAX) /* max value for a signed long long */
+#define LLONG_MIN (QUAD_MIN) /* min value for a signed long long */
#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
#endif /* !_ANSI_SOURCE */
diff --git a/sys/arch/powerpc/include/limits.h b/sys/arch/powerpc/include/limits.h
index 3b2ccea9328..b112768cb12 100644
--- a/sys/arch/powerpc/include/limits.h
+++ b/sys/arch/powerpc/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.7 2000/03/20 17:04:33 rahnds Exp $ */
+/* $OpenBSD: limits.h,v 1.8 2000/07/31 20:06:03 millert Exp $ */
/* $NetBSD: limits.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */
/*-
@@ -67,6 +67,9 @@
#define UQUAD_MAX 0xffffffffffffffffULL /* max unsigned quad */
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
+#define ULLONG_MAX (UQUAD_MAX) /* max value for unsigned long long */
+#define LLONG_MAX (QUAD_MAX) /* max value for a signed long long */
+#define LLONG_MIN (QUAD_MIN) /* min value for a signed long long */
#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
#endif /* !_ANSI_SOURCE */
diff --git a/sys/arch/sparc/include/limits.h b/sys/arch/sparc/include/limits.h
index d96529d5a0c..a8aa46777e0 100644
--- a/sys/arch/sparc/include/limits.h
+++ b/sys/arch/sparc/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.5 1998/03/22 21:15:24 millert Exp $ */
+/* $OpenBSD: limits.h,v 1.6 2000/07/31 20:06:03 millert Exp $ */
/* $NetBSD: limits.h,v 1.7 1996/01/05 18:10:57 pk Exp $ */
/*
@@ -72,6 +72,9 @@
/* max value for a quad_t */
#define QUAD_MAX ((quad_t)(UQUAD_MAX >> 1))
#define QUAD_MIN (-QUAD_MAX-1) /* min value for a quad_t */
+#define ULLONG_MAX (UQUAD_MAX) /* max value for unsigned long long */
+#define LLONG_MAX (QUAD_MAX) /* max value for a signed long long */
+#define LLONG_MIN (QUAD_MIN) /* min value for a signed long long */
#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
#endif /* !_ANSI_SOURCE */
diff --git a/sys/arch/vax/include/limits.h b/sys/arch/vax/include/limits.h
index 2566351b37c..6681ed56ffa 100644
--- a/sys/arch/vax/include/limits.h
+++ b/sys/arch/vax/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.6 2000/04/26 03:08:41 bjc Exp $ */
+/* $OpenBSD: limits.h,v 1.7 2000/07/31 20:06:03 millert Exp $ */
/* $NetBSD: limits.h,v 1.9 2000/03/07 19:33:01 kleink Exp $ */
/*
@@ -80,6 +80,9 @@
#define UQUAD_MAX 0xffffffffffffffffULL /* max unsigned quad */
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
+#define ULLONG_MAX (UQUAD_MAX) /* max value for unsigned long long */
+#define LLONG_MAX (QUAD_MAX) /* max value for a signed long long */
+#define LLONG_MIN (QUAD_MIN) /* min value for a signed long long */
#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
#endif /* !_ANSI_SOURCE */
diff --git a/sys/arch/wgrisc/include/limits.h b/sys/arch/wgrisc/include/limits.h
index 3fef3a42593..b4ef30f8352 100644
--- a/sys/arch/wgrisc/include/limits.h
+++ b/sys/arch/wgrisc/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.3 1998/03/22 21:15:27 millert Exp $ */
+/* $OpenBSD: limits.h,v 1.4 2000/07/31 20:06:04 millert Exp $ */
/* $NetBSD: limits.h,v 1.8 1995/03/28 18:19:16 jtc Exp $ */
/*
@@ -89,6 +89,9 @@
/* max value for a quad_t */
#define QUAD_MAX ((quad_t)(UQUAD_MAX >> 1))
#define QUAD_MIN (-QUAD_MAX-1) /* min value for a quad_t */
+#define ULLONG_MAX (UQUAD_MAX) /* max value for unsigned long long */
+#define LLONG_MAX (QUAD_MAX) /* max value for a signed long long */
+#define LLONG_MIN (QUAD_MIN) /* min value for a signed long long */
#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
#endif /* !_ANSI_SOURCE */