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

Unified Diff: fusl/src/unistd/unlink.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/unlink.c
diff --git a/fusl/src/unistd/unlink.c b/fusl/src/unistd/unlink.c
index c40c28d50be4e59951afb14dea3436f768e01cc1..0de723107a31aa0daccbc6a8a5dd1e845df056b6 100644
--- a/fusl/src/unistd/unlink.c
+++ b/fusl/src/unistd/unlink.c
@@ -2,11 +2,10 @@
#include <fcntl.h>
#include "syscall.h"
-int unlink(const char *path)
-{
+int unlink(const char* path) {
#ifdef SYS_unlink
- return syscall(SYS_unlink, path);
+ return syscall(SYS_unlink, path);
#else
- return syscall(SYS_unlinkat, AT_FDCWD, path, 0);
+ return syscall(SYS_unlinkat, AT_FDCWD, path, 0);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698