Use revived __maskrune for digittoint

Minor formatting
This commit is contained in:
Andrey A. Chernov 1997-09-27 04:34:35 +00:00
parent 659ad3a4a1
commit 46dba712f1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29885

View File

@ -50,7 +50,7 @@ int
isalnum(c) isalnum(c)
int c; int c;
{ {
return (__istype((c), (_A|_D))); return (__istype((c), _A|_D));
} }
#undef isalpha #undef isalpha
@ -178,5 +178,5 @@ int
digittoint(c) digittoint(c)
int c; int c;
{ {
return (__istype((c), 0xFF)); return (__maskrune((c), 0xFF));
} }