diff options
author | robert <robert@FreeBSD.org> | 2002-06-11 11:27:20 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2002-06-11 11:27:20 +0000 |
commit | f85d0f00609e74ecc0af9af261884345400f1483 (patch) | |
tree | 3e227f828f3f84e93dd59aead391ec303d60f0a5 /usr.bin/yacc/defs.h | |
parent | d1834ccc3b4dd30a064ae97391d65f6154086970 (diff) | |
download | FreeBSD-src-f85d0f00609e74ecc0af9af261884345400f1483.zip FreeBSD-src-f85d0f00609e74ecc0af9af261884345400f1483.tar.gz |
Use the constants from <limits.h> for the sizes of integral C types
rather than defining them ourselves.
Diffstat (limited to 'usr.bin/yacc/defs.h')
-rw-r--r-- | usr.bin/yacc/defs.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/usr.bin/yacc/defs.h b/usr.bin/yacc/defs.h index 4efc8a3..cb8b083 100644 --- a/usr.bin/yacc/defs.h +++ b/usr.bin/yacc/defs.h @@ -47,9 +47,6 @@ /* the following definitions are for the Tahoe */ /* they might have to be changed for other machines */ -/* MAXCHAR is the largest unsigned character value */ -/* MAXSHORT is the largest value of a C short */ -/* MINSHORT is the most negative value of a C short */ /* MAXTABLE is the maximum table size */ /* BITS_PER_WORD is the number of bits in a C unsigned */ /* WORDSIZE computes the number of words needed to */ @@ -58,9 +55,6 @@ /* from r (0-indexed) */ /* SETBIT sets the n-th bit starting from r */ -#define MAXCHAR 255 -#define MAXSHORT 32767 -#define MINSHORT -32768 #define MAXTABLE 32500 #define BITS_PER_WORD 32 #define WORDSIZE(n) (((n)+(BITS_PER_WORD-1))/BITS_PER_WORD) |