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

Unified Diff: fusl/src/stat/stat.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/stat/stat.c
diff --git a/fusl/src/stat/stat.c b/fusl/src/stat/stat.c
index b4433a0a7cd13893b6889e89cfc3eac7e98178d1..a1647fb3f1896fe679a271fd79f54354a2f3557d 100644
--- a/fusl/src/stat/stat.c
+++ b/fusl/src/stat/stat.c
@@ -3,12 +3,11 @@
#include "syscall.h"
#include "libc.h"
-int stat(const char *restrict path, struct stat *restrict buf)
-{
+int stat(const char* restrict path, struct stat* restrict buf) {
#ifdef SYS_stat
- return syscall(SYS_stat, path, buf);
+ return syscall(SYS_stat, path, buf);
#else
- return syscall(SYS_fstatat, AT_FDCWD, path, buf, 0);
+ return syscall(SYS_fstatat, AT_FDCWD, path, buf, 0);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698