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

Unified Diff: fusl/src/unistd/access.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/unistd/access.c
diff --git a/fusl/src/unistd/access.c b/fusl/src/unistd/access.c
index d6eed6839822f32bebf333218b6e020d08bbbd28..56f975b2e9527d9892ca90095031b842ab8eb5db 100644
--- a/fusl/src/unistd/access.c
+++ b/fusl/src/unistd/access.c
@@ -2,11 +2,10 @@
#include <fcntl.h>
#include "syscall.h"
-int access(const char *filename, int amode)
-{
+int access(const char* filename, int amode) {
#ifdef SYS_access
- return syscall(SYS_access, filename, amode);
+ return syscall(SYS_access, filename, amode);
#else
- return syscall(SYS_faccessat, AT_FDCWD, filename, amode, 0);
+ return syscall(SYS_faccessat, AT_FDCWD, filename, amode, 0);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698