diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/toupper_.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/toupper_.c b/lib/libc/gen/toupper_.c index ac228a7453f..40931992d80 100644 --- a/lib/libc/gen/toupper_.c +++ b/lib/libc/gen/toupper_.c @@ -1,4 +1,4 @@ -/* $OpenBSD: toupper_.c,v 1.9 2005/08/08 08:05:34 espie Exp $ */ +/* $OpenBSD: toupper_.c,v 1.10 2005/08/09 08:36:48 kevlo Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. @@ -10,7 +10,7 @@ #include "ctype_private.h" -const short _C_toupper_[1 + 256] = { +const short _C_toupper_[1 + CTYPE_NUM_CHARS] = { EOF, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, |