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

Unified Diff: fusl/src/stdio/getline.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/stdio/getline.c
diff --git a/fusl/src/stdio/getline.c b/fusl/src/stdio/getline.c
index 476d0b09617430764552052fc77827f14be8c8a1..23f242b6c3d17210c0d682500ea2dfde20699c51 100644
--- a/fusl/src/stdio/getline.c
+++ b/fusl/src/stdio/getline.c
@@ -1,6 +1,5 @@
#include <stdio.h>
-ssize_t getline(char **restrict s, size_t *restrict n, FILE *restrict f)
-{
- return getdelim(s, n, '\n', f);
+ssize_t getline(char** restrict s, size_t* restrict n, FILE* restrict f) {
+ return getdelim(s, n, '\n', f);
}

Powered by Google App Engine
This is Rietveld 408576698