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

Unified Diff: fusl/src/stdio/setbuf.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/setbuf.c
diff --git a/fusl/src/stdio/setbuf.c b/fusl/src/stdio/setbuf.c
index 74ad7834ae59f20b8a9c4e25ff471313e6776e24..1f68d6d927b6f59c1f52639c4bbb019832bf7b06 100644
--- a/fusl/src/stdio/setbuf.c
+++ b/fusl/src/stdio/setbuf.c
@@ -1,6 +1,5 @@
#include <stdio.h>
-void setbuf(FILE *restrict f, char *restrict buf)
-{
- setvbuf(f, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
+void setbuf(FILE* restrict f, char* restrict buf) {
+ setvbuf(f, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
}

Powered by Google App Engine
This is Rietveld 408576698