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

Unified Diff: fusl/src/misc/ioctl.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/misc/ioctl.c
diff --git a/fusl/src/misc/ioctl.c b/fusl/src/misc/ioctl.c
index 5a41f0e846456e5647500c0da4c23f5b39065dc6..2264c4b8e2044d288f9929fcbc14d1d41197b5f1 100644
--- a/fusl/src/misc/ioctl.c
+++ b/fusl/src/misc/ioctl.c
@@ -2,12 +2,11 @@
#include <stdarg.h>
#include "syscall.h"
-int ioctl(int fd, int req, ...)
-{
- void *arg;
- va_list ap;
- va_start(ap, req);
- arg = va_arg(ap, void *);
- va_end(ap);
- return syscall(SYS_ioctl, fd, req, arg);
+int ioctl(int fd, int req, ...) {
+ void* arg;
+ va_list ap;
+ va_start(ap, req);
+ arg = va_arg(ap, void*);
+ va_end(ap);
+ return syscall(SYS_ioctl, fd, req, arg);
}

Powered by Google App Engine
This is Rietveld 408576698