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

Unified Diff: fusl/src/ipc/shmdt.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/shmdt.c
diff --git a/fusl/src/ipc/shmdt.c b/fusl/src/ipc/shmdt.c
index d4fac8f183a12281c76280377132de08a965059c..266422ef5c665e8242e69a0cc929e4af9d804ad6 100644
--- a/fusl/src/ipc/shmdt.c
+++ b/fusl/src/ipc/shmdt.c
@@ -2,11 +2,10 @@
#include "syscall.h"
#include "ipc.h"
-int shmdt(const void *addr)
-{
+int shmdt(const void* addr) {
#ifdef SYS_shmdt
- return syscall(SYS_shmdt, addr);
+ return syscall(SYS_shmdt, addr);
#else
- return syscall(SYS_ipc, IPCOP_shmdt, 0, 0, 0, addr);
+ return syscall(SYS_ipc, IPCOP_shmdt, 0, 0, 0, addr);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698