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

Unified Diff: fusl/arch/aarch64/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/aarch64/bits/socket.h
diff --git a/fusl/arch/aarch64/bits/socket.h b/fusl/arch/aarch64/bits/socket.h
index b3fe643ad8309f03f8ff0b1cbc9d3b5aa63ed345..1127d5b5a6e69fb55b2e6a28e1ae6ffbde5dd7c6 100644
--- a/fusl/arch/aarch64/bits/socket.h
+++ b/fusl/arch/aarch64/bits/socket.h
@@ -1,35 +1,33 @@
#include <endian.h>
-struct msghdr
-{
- void *msg_name;
- socklen_t msg_namelen;
- struct iovec *msg_iov;
+struct msghdr {
+ void* msg_name;
+ socklen_t msg_namelen;
+ struct iovec* msg_iov;
#if __BYTE_ORDER == __BIG_ENDIAN
- int __pad1, msg_iovlen;
+ int __pad1, msg_iovlen;
#else
- int msg_iovlen, __pad1;
+ int msg_iovlen, __pad1;
#endif
- void *msg_control;
+ void* msg_control;
#if __BYTE_ORDER == __BIG_ENDIAN
- int __pad2;
- socklen_t msg_controllen;
+ int __pad2;
+ socklen_t msg_controllen;
#else
- socklen_t msg_controllen;
- int __pad2;
+ socklen_t msg_controllen;
+ int __pad2;
#endif
- int msg_flags;
+ int msg_flags;
};
-struct cmsghdr
-{
+struct cmsghdr {
#if __BYTE_ORDER == __BIG_ENDIAN
- int __pad1;
- socklen_t cmsg_len;
+ int __pad1;
+ socklen_t cmsg_len;
#else
- socklen_t cmsg_len;
- int __pad1;
+ socklen_t cmsg_len;
+ int __pad1;
#endif
- int cmsg_level;
- int cmsg_type;
+ int cmsg_level;
+ int cmsg_type;
};

Powered by Google App Engine
This is Rietveld 408576698