Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: fusl/src/ctype/iswdigit.c

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fusl/src/ctype/iswdigit.c
diff --git a/fusl/src/ctype/iswdigit.c b/fusl/src/ctype/iswdigit.c
index ed9a88e740ad38a7bf60bed9d52ebbc23161c978..d67144d26369e1e394f6f4507d2d16c6f92aa1ab 100644
--- a/fusl/src/ctype/iswdigit.c
+++ b/fusl/src/ctype/iswdigit.c
@@ -3,14 +3,12 @@
#undef iswdigit
-int iswdigit(wint_t wc)
-{
- return (unsigned)wc-'0' < 10;
+int iswdigit(wint_t wc) {
+ return (unsigned)wc - '0' < 10;
}
-int __iswdigit_l(wint_t c, locale_t l)
-{
- return iswdigit(c);
+int __iswdigit_l(wint_t c, locale_t l) {
+ return iswdigit(c);
}
weak_alias(__iswdigit_l, iswdigit_l);

Powered by Google App Engine
This is Rietveld 408576698