mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Use revived __maskrune for digittoint
Minor formatting
This commit is contained in:
parent
659ad3a4a1
commit
46dba712f1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29885
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user