mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 01:38:57 +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