summaryrefslogtreecommitdiff
path: root/sys/arch/sh
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-04-30 13:42:09 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-04-30 13:42:09 +0000
commit1e55d1cb07f6e4e910f3e409d5d852e82abab4c7 (patch)
tree6a724c810b4fe79b0319825bda31d08aeacf07af /sys/arch/sh
parentd1c0488866243510b54e408727cc4ef84ef786bf (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@
Diffstat (limited to 'sys/arch/sh')
-rw-r--r--sys/arch/sh/include/limits.h5
1 files changed, 1 insertions, 4 deletions
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