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

Unified Diff: fusl/src/ctype/isxdigit.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/isxdigit.c
diff --git a/fusl/src/ctype/isxdigit.c b/fusl/src/ctype/isxdigit.c
index 0e9152a7b01661b08167eb8169518c8536092051..29ba9a3f891db8e2f196285e87301f82056654ed 100644
--- a/fusl/src/ctype/isxdigit.c
+++ b/fusl/src/ctype/isxdigit.c
@@ -1,14 +1,12 @@
#include <ctype.h>
#include "libc.h"
-int isxdigit(int c)
-{
- return isdigit(c) || ((unsigned)c|32)-'a' < 6;
+int isxdigit(int c) {
+ return isdigit(c) || ((unsigned)c | 32) - 'a' < 6;
}
-int __isxdigit_l(int c, locale_t l)
-{
- return isxdigit(c);
+int __isxdigit_l(int c, locale_t l) {
+ return isxdigit(c);
}
weak_alias(__isxdigit_l, isxdigit_l);

Powered by Google App Engine
This is Rietveld 408576698