diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2015-04-30 13:42:09 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2015-04-30 13:42:09 +0000 |
commit | 1e55d1cb07f6e4e910f3e409d5d852e82abab4c7 (patch) | |
tree | 6a724c810b4fe79b0319825bda31d08aeacf07af | |
parent | d1c0488866243510b54e408727cc4ef84ef786bf (diff) |
Remove SIZE_MAX from limits.h. It was added years ago before we
had a proper stdint.h. No ports fallout. OK guenther@ miod@
-rw-r--r-- | sys/arch/alpha/include/limits.h | 5 | ||||
-rw-r--r-- | sys/arch/amd64/include/limits.h | 5 | ||||
-rw-r--r-- | sys/arch/arm/include/limits.h | 5 | ||||
-rw-r--r-- | sys/arch/hppa/include/limits.h | 5 | ||||
-rw-r--r-- | sys/arch/hppa64/include/limits.h | 5 | ||||
-rw-r--r-- | sys/arch/i386/include/limits.h | 5 | ||||
-rw-r--r-- | sys/arch/m88k/include/limits.h | 5 | ||||
-rw-r--r-- | sys/arch/mips64/include/limits.h | 5 | ||||
-rw-r--r-- | sys/arch/powerpc/include/limits.h | 5 | ||||
-rw-r--r-- | sys/arch/sh/include/limits.h | 5 | ||||
-rw-r--r-- | sys/arch/sparc/include/limits.h | 5 | ||||
-rw-r--r-- | sys/arch/sparc64/include/limits.h | 5 | ||||
-rw-r--r-- | sys/arch/vax/include/limits.h | 5 |
13 files changed, 13 insertions, 52 deletions
diff --git a/sys/arch/alpha/include/limits.h b/sys/arch/alpha/include/limits.h index c99c830a3d4..eb2dc610ffe 100644 --- a/sys/arch/alpha/include/limits.h +++ b/sys/arch/alpha/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.13 2009/11/27 19:54:35 guenther Exp $ */ +/* $OpenBSD: limits.h,v 1.14 2015/04/30 13:42:08 millert Exp $ */ /* $NetBSD: limits.h,v 1.2 1996/04/12 01:38:25 cgd Exp $ */ /* @@ -38,9 +38,6 @@ #include <sys/cdefs.h> #if __POSIX_VISIBLE || __XPG_VISIBLE -#ifndef SIZE_MAX -#define SIZE_MAX ULONG_MAX /* max value for a size_t */ -#endif #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ #endif diff --git a/sys/arch/amd64/include/limits.h b/sys/arch/amd64/include/limits.h index a8c4a88db1b..98405019767 100644 --- a/sys/arch/amd64/include/limits.h +++ b/sys/arch/amd64/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.5 2009/11/27 19:54:35 guenther Exp $ */ +/* $OpenBSD: limits.h,v 1.6 2015/04/30 13:42:08 millert Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. @@ -37,9 +37,6 @@ #include <sys/cdefs.h> #if __POSIX_VISIBLE || __XPG_VISIBLE -#ifndef SIZE_MAX -#define SIZE_MAX ULONG_MAX /* max value for a size_t */ -#endif #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ #endif diff --git a/sys/arch/arm/include/limits.h b/sys/arch/arm/include/limits.h index 1ef1441afad..497bff5c130 100644 --- a/sys/arch/arm/include/limits.h +++ b/sys/arch/arm/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.6 2013/08/07 15:33:59 kettenis Exp $ */ +/* $OpenBSD: limits.h,v 1.7 2015/04/30 13:42:08 millert Exp $ */ /* $NetBSD: limits.h,v 1.4 2003/04/28 23:16:18 bjh21 Exp $ */ /* @@ -38,9 +38,6 @@ #include <sys/cdefs.h> #if __POSIX_VISIBLE || __XPG_VISIBLE -#ifndef SIZE_MAX -#define SIZE_MAX ULONG_MAX /* max value for a size_t */ -#endif #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ #endif diff --git a/sys/arch/hppa/include/limits.h b/sys/arch/hppa/include/limits.h index 6cb0ea0c7cf..2b5d7cb0639 100644 --- a/sys/arch/hppa/include/limits.h +++ b/sys/arch/hppa/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.13 2013/08/07 15:34:00 kettenis Exp $ */ +/* $OpenBSD: limits.h,v 1.14 2015/04/30 13:42:08 millert Exp $ */ /* * Copyright (c) 1988, 1993 @@ -37,9 +37,6 @@ #include <sys/cdefs.h> #if __POSIX_VISIBLE || __XPG_VISIBLE -#ifndef SIZE_MAX -#define SIZE_MAX ULONG_MAX /* max value for a size_t */ -#endif #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ #endif diff --git a/sys/arch/hppa64/include/limits.h b/sys/arch/hppa64/include/limits.h index 02cfa0d4be3..648bcf715bc 100644 --- a/sys/arch/hppa64/include/limits.h +++ b/sys/arch/hppa64/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.5 2013/08/07 15:34:00 kettenis Exp $ */ +/* $OpenBSD: limits.h,v 1.6 2015/04/30 13:42:08 millert Exp $ */ /* * Copyright (c) 1988, 1993 @@ -37,9 +37,6 @@ #include <sys/cdefs.h> #if __POSIX_VISIBLE || __XPG_VISIBLE -#ifndef SIZE_MAX -#define SIZE_MAX ULONG_MAX /* max value for a size_t */ -#endif #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ #endif diff --git a/sys/arch/i386/include/limits.h b/sys/arch/i386/include/limits.h index c43a3a5d05c..ad7d8c2e734 100644 --- a/sys/arch/i386/include/limits.h +++ b/sys/arch/i386/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.13 2013/08/07 15:34:00 kettenis Exp $ */ +/* $OpenBSD: limits.h,v 1.14 2015/04/30 13:42:08 millert Exp $ */ /* $NetBSD: limits.h,v 1.11 1995/12/21 01:08:59 mycroft Exp $ */ /* @@ -38,9 +38,6 @@ #include <sys/cdefs.h> #if __POSIX_VISIBLE || __XPG_VISIBLE -#ifndef SIZE_MAX -#define SIZE_MAX ULONG_MAX /* max value for a size_t */ -#endif #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ #endif diff --git a/sys/arch/m88k/include/limits.h b/sys/arch/m88k/include/limits.h index 449e8a2afd7..a4f30c0a074 100644 --- a/sys/arch/m88k/include/limits.h +++ b/sys/arch/m88k/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.6 2013/08/07 15:34:01 kettenis Exp $ */ +/* $OpenBSD: limits.h,v 1.7 2015/04/30 13:42:08 millert Exp $ */ /* * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. @@ -36,9 +36,6 @@ #include <sys/cdefs.h> #if __POSIX_VISIBLE || __XPG_VISIBLE -#ifndef SIZE_MAX -#define SIZE_MAX ULONG_MAX /* max value for a size_t */ -#endif #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ #endif diff --git a/sys/arch/mips64/include/limits.h b/sys/arch/mips64/include/limits.h index cdb6d60a9b1..de58ee98852 100644 --- a/sys/arch/mips64/include/limits.h +++ b/sys/arch/mips64/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.7 2011/03/23 16:54:36 pirofti Exp $ */ +/* $OpenBSD: limits.h,v 1.8 2015/04/30 13:42:08 millert Exp $ */ /* * Copyright (c) 1988, 1993 @@ -37,9 +37,6 @@ #include <sys/cdefs.h> #if __POSIX_VISIBLE || __XPG_VISIBLE -#ifndef SIZE_MAX -#define SIZE_MAX ULONG_MAX /* max value for a size_t */ -#endif #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ #endif diff --git a/sys/arch/powerpc/include/limits.h b/sys/arch/powerpc/include/limits.h index e134f5eab00..edf7201ed6c 100644 --- a/sys/arch/powerpc/include/limits.h +++ b/sys/arch/powerpc/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.17 2013/08/07 15:34:01 kettenis Exp $ */ +/* $OpenBSD: limits.h,v 1.18 2015/04/30 13:42:08 millert Exp $ */ /* $NetBSD: limits.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */ /*- @@ -38,9 +38,6 @@ #include <sys/cdefs.h> #if __POSIX_VISIBLE || __XPG_VISIBLE -#ifndef SIZE_MAX -#define SIZE_MAX ULONG_MAX /* max value for a size_t */ -#endif #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ #endif diff --git a/sys/arch/sh/include/limits.h b/sys/arch/sh/include/limits.h index 1078ec4a640..cbc2cb55d5c 100644 --- a/sys/arch/sh/include/limits.h +++ b/sys/arch/sh/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.3 2013/08/07 15:34:01 kettenis Exp $ */ +/* $OpenBSD: limits.h,v 1.4 2015/04/30 13:42:08 millert Exp $ */ /* $NetBSD: limits.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */ /*- @@ -38,9 +38,6 @@ #include <sys/cdefs.h> #if __POSIX_VISIBLE || __XPG_VISIBLE -#ifndef SIZE_MAX -#define SIZE_MAX ULONG_MAX /* max value for a size_t */ -#endif #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ #endif diff --git a/sys/arch/sparc/include/limits.h b/sys/arch/sparc/include/limits.h index ca45199afb7..184e41acc82 100644 --- a/sys/arch/sparc/include/limits.h +++ b/sys/arch/sparc/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.13 2013/08/07 15:34:02 kettenis Exp $ */ +/* $OpenBSD: limits.h,v 1.14 2015/04/30 13:42:08 millert Exp $ */ /* $NetBSD: limits.h,v 1.7 1996/01/05 18:10:57 pk Exp $ */ /* @@ -35,9 +35,6 @@ #include <sys/cdefs.h> #if __POSIX_VISIBLE || __XPG_VISIBLE -#ifndef SIZE_MAX -#define SIZE_MAX ULONG_MAX /* max value for a size_t */ -#endif #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ #endif diff --git a/sys/arch/sparc64/include/limits.h b/sys/arch/sparc64/include/limits.h index c980840cc78..1d99cfb6c75 100644 --- a/sys/arch/sparc64/include/limits.h +++ b/sys/arch/sparc64/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.10 2009/11/27 19:54:35 guenther Exp $ */ +/* $OpenBSD: limits.h,v 1.11 2015/04/30 13:42:08 millert Exp $ */ /* $NetBSD: limits.h,v 1.8 2000/08/08 22:31:14 tshiozak Exp $ */ /* @@ -38,9 +38,6 @@ #include <sys/cdefs.h> #if __POSIX_VISIBLE || __XPG_VISIBLE -#ifndef SIZE_MAX -#define SIZE_MAX ULONG_MAX /* max value for a size_t */ -#endif #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ #endif diff --git a/sys/arch/vax/include/limits.h b/sys/arch/vax/include/limits.h index f6fa08fbf81..847cd9c60d8 100644 --- a/sys/arch/vax/include/limits.h +++ b/sys/arch/vax/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.15 2013/08/07 15:34:02 kettenis Exp $ */ +/* $OpenBSD: limits.h,v 1.16 2015/04/30 13:42:08 millert Exp $ */ /* $NetBSD: limits.h,v 1.9 2000/03/07 19:33:01 kleink Exp $ */ /* @@ -38,9 +38,6 @@ #include <sys/cdefs.h> #if __POSIX_VISIBLE || __XPG_VISIBLE -#ifndef SIZE_MAX -#define SIZE_MAX ULONG_MAX /* max value for a size_t */ -#endif #define SSIZE_MAX LONG_MAX /* max value for a ssize_t */ #endif |