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

Unified Diff: fusl/arch/x86_64/bits/socket.h

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/arch/x86_64/bits/socket.h
diff --git a/fusl/arch/x86_64/bits/socket.h b/fusl/arch/x86_64/bits/socket.h
index a90c4cae9d29f401f84c68d818dcd7d34fd28358..9279ee10eea14501ad99187b9eaf0e40440c66b0 100644
--- a/fusl/arch/x86_64/bits/socket.h
+++ b/fusl/arch/x86_64/bits/socket.h
@@ -1,18 +1,16 @@
-struct msghdr
-{
- void *msg_name;
- socklen_t msg_namelen;
- struct iovec *msg_iov;
- int msg_iovlen, __pad1;
- void *msg_control;
- socklen_t msg_controllen, __pad2;
- int msg_flags;
+struct msghdr {
+ void* msg_name;
+ socklen_t msg_namelen;
+ struct iovec* msg_iov;
+ int msg_iovlen, __pad1;
+ void* msg_control;
+ socklen_t msg_controllen, __pad2;
+ int msg_flags;
};
-struct cmsghdr
-{
- socklen_t cmsg_len;
- int __pad1;
- int cmsg_level;
- int cmsg_type;
+struct cmsghdr {
+ socklen_t cmsg_len;
+ int __pad1;
+ int cmsg_level;
+ int cmsg_type;
};

Powered by Google App Engine
This is Rietveld 408576698