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

Unified Diff: fusl/src/ipc/semop.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/semop.c
diff --git a/fusl/src/ipc/semop.c b/fusl/src/ipc/semop.c
index 8046e43714d08698af71fb698d7796b90d6020fa..eb458a2dd4d85b79d3cfc05256cbc476129571f7 100644
--- a/fusl/src/ipc/semop.c
+++ b/fusl/src/ipc/semop.c
@@ -2,11 +2,10 @@
#include "syscall.h"
#include "ipc.h"
-int semop(int id, struct sembuf *buf, size_t n)
-{
+int semop(int id, struct sembuf* buf, size_t n) {
#ifdef SYS_semop
- return syscall(SYS_semop, id, buf, n);
+ return syscall(SYS_semop, id, buf, n);
#else
- return syscall(SYS_ipc, IPCOP_semop, id, n, 0, buf);
+ return syscall(SYS_ipc, IPCOP_semop, id, n, 0, buf);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698