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

Unified Diff: fusl/src/linux/swap.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/linux/swap.c
diff --git a/fusl/src/linux/swap.c b/fusl/src/linux/swap.c
index 8137d51ebff34c0e3658adaa1ca476fcacaf0dc5..8dd2989e32b77c5307d8e2fec0d8e674e1fc67a4 100644
--- a/fusl/src/linux/swap.c
+++ b/fusl/src/linux/swap.c
@@ -1,12 +1,10 @@
#include <sys/swap.h>
#include "syscall.h"
-int swapon(const char *path, int flags)
-{
- return syscall(SYS_swapon, path, flags);
+int swapon(const char* path, int flags) {
+ return syscall(SYS_swapon, path, flags);
}
-int swapoff(const char *path)
-{
- return syscall(SYS_swapoff, path);
+int swapoff(const char* path) {
+ return syscall(SYS_swapoff, path);
}

Powered by Google App Engine
This is Rietveld 408576698