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

Unified Diff: fusl/src/ctype/isupper.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/isupper.c
diff --git a/fusl/src/ctype/isupper.c b/fusl/src/ctype/isupper.c
index 68c36f4a424f25c57651007adda7f84d1563c9a1..3ee62ff19188c87f54d13d84bd13d2d9fc68c27f 100644
--- a/fusl/src/ctype/isupper.c
+++ b/fusl/src/ctype/isupper.c
@@ -2,14 +2,12 @@
#include "libc.h"
#undef isupper
-int isupper(int c)
-{
- return (unsigned)c-'A' < 26;
+int isupper(int c) {
+ return (unsigned)c - 'A' < 26;
}
-int __isupper_l(int c, locale_t l)
-{
- return isupper(c);
+int __isupper_l(int c, locale_t l) {
+ return isupper(c);
}
weak_alias(__isupper_l, isupper_l);

Powered by Google App Engine
This is Rietveld 408576698