From 46dba712f1801bc970168ae9badaaea0b7c68c2c Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 27 Sep 1997 04:34:35 +0000 Subject: [PATCH] Use revived __maskrune for digittoint Minor formatting --- lib/libc/locale/isctype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/locale/isctype.c b/lib/libc/locale/isctype.c index 5f5404bf6365..4d51813dbe2c 100644 --- a/lib/libc/locale/isctype.c +++ b/lib/libc/locale/isctype.c @@ -50,7 +50,7 @@ int isalnum(c) int c; { - return (__istype((c), (_A|_D))); + return (__istype((c), _A|_D)); } #undef isalpha @@ -178,5 +178,5 @@ int digittoint(c) int c; { - return (__istype((c), 0xFF)); + return (__maskrune((c), 0xFF)); }