summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-09-27 04:34:35 +0000
committerache <ache@FreeBSD.org>1997-09-27 04:34:35 +0000
commitb8375a6112e1ef72f4de0190c84e75ca76bb6d72 (patch)
tree63b711813f4dce2268b41c3bcae5e3f63de9050b /lib/libc/locale
parent7ff32364470b4cefd857e17b0ecca26102035a6c (diff)
downloadFreeBSD-src-b8375a6112e1ef72f4de0190c84e75ca76bb6d72.zip
FreeBSD-src-b8375a6112e1ef72f4de0190c84e75ca76bb6d72.tar.gz
Use revived __maskrune for digittoint
Minor formatting
Diffstat (limited to 'lib/libc/locale')
-rw-r--r--lib/libc/locale/isctype.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/locale/isctype.c b/lib/libc/locale/isctype.c
index 5f5404b..4d51813 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));
}
OpenPOWER on IntegriCloud