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

Unified Diff: fusl/src/stdio/__stdio_close.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/__stdio_close.c
diff --git a/fusl/src/stdio/__stdio_close.c b/fusl/src/stdio/__stdio_close.c
index 79452bdb6498a18eea555568a16d0333ac8ad06d..c83bb318207f26c1dfc2bc1d078363280b7f0c08 100644
--- a/fusl/src/stdio/__stdio_close.c
+++ b/fusl/src/stdio/__stdio_close.c
@@ -1,13 +1,11 @@
#include "stdio_impl.h"
-static int dummy(int fd)
-{
- return fd;
+static int dummy(int fd) {
+ return fd;
}
weak_alias(dummy, __aio_close);
-int __stdio_close(FILE *f)
-{
- return syscall(SYS_close, __aio_close(f->fd));
+int __stdio_close(FILE* f) {
+ return syscall(SYS_close, __aio_close(f->fd));
}

Powered by Google App Engine
This is Rietveld 408576698