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

Unified Diff: fusl/src/ipc/msgctl.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/ipc/msgctl.c
diff --git a/fusl/src/ipc/msgctl.c b/fusl/src/ipc/msgctl.c
index 4372c71939cad44717423282cc6382842ffed1bd..ca2b19c04b9ffac2ca2a540fc1fa9a1bfa5a156e 100644
--- a/fusl/src/ipc/msgctl.c
+++ b/fusl/src/ipc/msgctl.c
@@ -2,11 +2,10 @@
#include "syscall.h"
#include "ipc.h"
-int msgctl(int q, int cmd, struct msqid_ds *buf)
-{
+int msgctl(int q, int cmd, struct msqid_ds* buf) {
#ifdef SYS_msgctl
- return syscall(SYS_msgctl, q, cmd | IPC_64, buf);
+ return syscall(SYS_msgctl, q, cmd | IPC_64, buf);
#else
- return syscall(SYS_ipc, IPCOP_msgctl, q, cmd | IPC_64, 0, buf, 0);
+ return syscall(SYS_ipc, IPCOP_msgctl, q, cmd | IPC_64, 0, buf, 0);
#endif
}
« fusl/arch/aarch64/atomic_arch.h ('K') | « fusl/src/ipc/ipc.h ('k') | fusl/src/ipc/msgget.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698