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

Unified Diff: fusl/src/string/strpbrk.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/string/strpbrk.c
diff --git a/fusl/src/string/strpbrk.c b/fusl/src/string/strpbrk.c
index 55947c641b869f7f75a6ce8aa8f3110aedb70832..c546a400f3653fd35852117593fe87926824c431 100644
--- a/fusl/src/string/strpbrk.c
+++ b/fusl/src/string/strpbrk.c
@@ -1,7 +1,6 @@
#include <string.h>
-char *strpbrk(const char *s, const char *b)
-{
- s += strcspn(s, b);
- return *s ? (char *)s : 0;
+char* strpbrk(const char* s, const char* b) {
+ s += strcspn(s, b);
+ return *s ? (char*)s : 0;
}

Powered by Google App Engine
This is Rietveld 408576698