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

Unified Diff: fusl/src/unistd/symlink.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/symlink.c
diff --git a/fusl/src/unistd/symlink.c b/fusl/src/unistd/symlink.c
index 0973d78a8936bca2cef633f361abd2401bd82f4a..e4f905444196e09dabb657fc409c8c603178d8b2 100644
--- a/fusl/src/unistd/symlink.c
+++ b/fusl/src/unistd/symlink.c
@@ -2,11 +2,10 @@
#include <fcntl.h>
#include "syscall.h"
-int symlink(const char *existing, const char *new)
-{
+int symlink(const char* existing, const char* new) {
#ifdef SYS_symlink
- return syscall(SYS_symlink, existing, new);
+ return syscall(SYS_symlink, existing, new);
#else
- return syscall(SYS_symlinkat, existing, AT_FDCWD, new);
+ return syscall(SYS_symlinkat, existing, AT_FDCWD, new);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698