diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-05 13:37:43 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-05 13:37:43 +0000 |
commit | 3032d99f42052661c0c6f4a7b59da92f46ba6f6f (patch) | |
tree | a1ec93117a9dee6987c0070347ef3ff0f7569006 /sys/arch/vax/include/limits.h | |
parent | 1404bdc30f30b34644e1dbbaab27109ca5199314 (diff) |
from netbsd: force unsigned with a U
Diffstat (limited to 'sys/arch/vax/include/limits.h')
-rw-r--r-- | sys/arch/vax/include/limits.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/vax/include/limits.h b/sys/arch/vax/include/limits.h index 06d3f52e852..1709951d2ba 100644 --- a/sys/arch/vax/include/limits.h +++ b/sys/arch/vax/include/limits.h @@ -1,4 +1,4 @@ -/* $NetBSD: limits.h,v 1.5 1995/05/28 18:38:30 ragge Exp $ */ +/* $NetBSD: limits.h,v 1.6 1995/12/31 15:05:19 ragge Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. @@ -36,17 +36,16 @@ */ #define CHAR_BIT 8 /* number of bits in a char */ -/* #define CLK_TCK 60 /* ticks per second */ #define MB_LEN_MAX 1 /* no multibyte characters */ -#define SCHAR_MIN (-0x7f-1) /* min value for a signed char */ #define SCHAR_MAX 0x7f /* max value for a signed char */ +#define SCHAR_MIN (-0x7f-1) /* 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 */ |