Chromium Code Reviews

Side by Side Diff: fusl/src/ctype/isdigit.c

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « fusl/src/ctype/iscntrl.c ('k') | fusl/src/ctype/isgraph.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #include <ctype.h>
2 #include "libc.h"
3 #undef isdigit
4
5 int isdigit(int c)
6 {
7 return (unsigned)c-'0' < 10;
8 }
9
10 int __isdigit_l(int c, locale_t l)
11 {
12 return isdigit(c);
13 }
14
15 weak_alias(__isdigit_l, isdigit_l);
OLDNEW
« no previous file with comments | « fusl/src/ctype/iscntrl.c ('k') | fusl/src/ctype/isgraph.c » ('j') | no next file with comments »

Powered by Google App Engine