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

Unified Diff: fusl/src/ctype/toupper.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/toupper.c
diff --git a/fusl/src/ctype/toupper.c b/fusl/src/ctype/toupper.c
index bbf4e06e815c6e1bbd7bfce3f12e471d427d71ad..eaa9c3c0a8e20b6b0a04f293c6edd463228559aa 100644
--- a/fusl/src/ctype/toupper.c
+++ b/fusl/src/ctype/toupper.c
@@ -1,15 +1,14 @@
#include <ctype.h>
#include "libc.h"
-int toupper(int c)
-{
- if (islower(c)) return c & 0x5f;
- return c;
+int toupper(int c) {
+ if (islower(c))
+ return c & 0x5f;
+ return c;
}
-int __toupper_l(int c, locale_t l)
-{
- return toupper(c);
+int __toupper_l(int c, locale_t l) {
+ return toupper(c);
}
weak_alias(__toupper_l, toupper_l);

Powered by Google App Engine
This is Rietveld 408576698