summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-06 17:48:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-06 17:48:40 +0000
commit50972910e1fdcaae280d19ae6b6817d7752c39d7 (patch)
tree4a27f40eb8624d070400777f484078b71ce78b7b /sys
parent6768d3cee2ba9abb42ef02adf85d67149f5e6939 (diff)
from netbsd; some U tags
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/include/limits.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/sparc/include/limits.h b/sys/arch/sparc/include/limits.h
index 25cbda15a68..d8156a96352 100644
--- a/sys/arch/sparc/include/limits.h
+++ b/sys/arch/sparc/include/limits.h
@@ -1,4 +1,4 @@
-/* $NetBSD: limits.h,v 1.6 1994/11/20 20:53:14 deraadt Exp $ */
+/* $NetBSD: limits.h,v 1.7 1996/01/05 18:10:57 pk Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
@@ -41,21 +41,21 @@
#define SCHAR_MIN (-0x7f-1) /* max value for a signed char */
#define SCHAR_MAX 0x7f /* min value for a signed char */
-#define UCHAR_MAX 0xff /* max value for an unsigned char */
+#define UCHAR_MAX 0xffU /* max value for an unsigned char */
#define CHAR_MAX 0x7f /* max value for a char */
#define CHAR_MIN (-0x7f-1) /* min value for a char */
-#define USHRT_MAX 0xffff /* max value for an unsigned short */
+#define USHRT_MAX 0xffffU /* max value for an unsigned short */
#define SHRT_MAX 0x7fff /* max value for a short */
#define SHRT_MIN (-0x7fff-1) /* min value for a short */
-#define UINT_MAX 0xffffffff /* max value for an unsigned int */
+#define UINT_MAX 0xffffffffU /* max value for an unsigned int */
#define INT_MAX 0x7fffffff /* max value for an int */
#define INT_MIN (-0x7fffffff-1) /* min value for an int */
-#define ULONG_MAX 0xffffffff /* max value for an unsigned long */
-#define LONG_MAX 0x7fffffff /* max value for a long */
-#define LONG_MIN (-0x7fffffff-1) /* min value for a long */
+#define ULONG_MAX 0xffffffffUL /* max value for an unsigned long */
+#define LONG_MAX 0x7fffffffL /* max value for a long */
+#define LONG_MIN (-0x7fffffffL-1) /* min value for a long */
#if !defined(_ANSI_SOURCE)
#define SSIZE_MAX INT_MAX /* max value for a ssize_t */