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

Unified Diff: fusl/src/ctype/iscntrl.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/iscntrl.c
diff --git a/fusl/src/ctype/iscntrl.c b/fusl/src/ctype/iscntrl.c
index cb4114a0602083f444b364461ebd6d91a0df8566..a3fd8750d0826d733efeed55834859f740fb1dee 100644
--- a/fusl/src/ctype/iscntrl.c
+++ b/fusl/src/ctype/iscntrl.c
@@ -1,14 +1,12 @@
#include <ctype.h>
#include "libc.h"
-int iscntrl(int c)
-{
- return (unsigned)c < 0x20 || c == 0x7f;
+int iscntrl(int c) {
+ return (unsigned)c < 0x20 || c == 0x7f;
}
-int __iscntrl_l(int c, locale_t l)
-{
- return iscntrl(c);
+int __iscntrl_l(int c, locale_t l) {
+ return iscntrl(c);
}
weak_alias(__iscntrl_l, iscntrl_l);

Powered by Google App Engine
This is Rietveld 408576698