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

Side by Side 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 unified diff | Download patch
OLDNEW
1 #include "stdio_impl.h" 1 #include "stdio_impl.h"
2 2
3 static int dummy(int fd) 3 static int dummy(int fd) {
4 { 4 return fd;
5 » return fd;
6 } 5 }
7 6
8 weak_alias(dummy, __aio_close); 7 weak_alias(dummy, __aio_close);
9 8
10 int __stdio_close(FILE *f) 9 int __stdio_close(FILE* f) {
11 { 10 return syscall(SYS_close, __aio_close(f->fd));
12 » return syscall(SYS_close, __aio_close(f->fd));
13 } 11 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698