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

Unified Diff: fusl/src/ctype/isalpha.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/isalpha.c
diff --git a/fusl/src/ctype/isalpha.c b/fusl/src/ctype/isalpha.c
index f155d3aa97048880a109a8838b79be1e946e2dc2..b69aa8248bf751f623e193c46b9c72f23b7a4e06 100644
--- a/fusl/src/ctype/isalpha.c
+++ b/fusl/src/ctype/isalpha.c
@@ -2,14 +2,12 @@
#include "libc.h"
#undef isalpha
-int isalpha(int c)
-{
- return ((unsigned)c|32)-'a' < 26;
+int isalpha(int c) {
+ return ((unsigned)c | 32) - 'a' < 26;
}
-int __isalpha_l(int c, locale_t l)
-{
- return isalpha(c);
+int __isalpha_l(int c, locale_t l) {
+ return isalpha(c);
}
weak_alias(__isalpha_l, isalpha_l);

Powered by Google App Engine
This is Rietveld 408576698