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

Unified Diff: fusl/src/linux/prctl.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/prctl.c
diff --git a/fusl/src/linux/prctl.c b/fusl/src/linux/prctl.c
index 19f4267cdeda4563fae0996b138cca04803746a4..06a3de50f86fc8c35e91bd80bf428ef9b38d8797 100644
--- a/fusl/src/linux/prctl.c
+++ b/fusl/src/linux/prctl.c
@@ -2,13 +2,13 @@
#include <stdarg.h>
#include "syscall.h"
-int prctl(int op, ...)
-{
- unsigned long x[4];
- int i;
- va_list ap;
- va_start(ap, op);
- for (i=0; i<4; i++) x[i] = va_arg(ap, unsigned long);
- va_end(ap);
- return syscall(SYS_prctl, op, x[0], x[1], x[2], x[3]);
+int prctl(int op, ...) {
+ unsigned long x[4];
+ int i;
+ va_list ap;
+ va_start(ap, op);
+ for (i = 0; i < 4; i++)
+ x[i] = va_arg(ap, unsigned long);
+ va_end(ap);
+ return syscall(SYS_prctl, op, x[0], x[1], x[2], x[3]);
}

Powered by Google App Engine
This is Rietveld 408576698