Clean-up: run format-cpp on the tree
[lttng-tools.git] / src / common / sessiond-comm / inet6.hpp
index d6122fdfae0363558904ad7946ec13259bc78a74..674751e552e3ce2890fa591b319547d2bb70a333 100644 (file)
@@ -8,27 +8,26 @@
 #ifndef _LTTCOMM_INET6_H
 #define _LTTCOMM_INET6_H
 
-#include <limits.h>
-
 #include "sessiond-comm.hpp"
 
+#include <limits.h>
+#include <sys/types.h>
+
 /* Stub */
 struct lttcomm_sock;
 
 /* Net family callback */
-extern int lttcomm_create_inet6_sock(struct lttcomm_sock *sock, int type,
-               int proto);
+extern int lttcomm_create_inet6_sock(struct lttcomm_sock *sock, int type, int proto);
 
-extern struct lttcomm_sock *lttcomm_accept_inet6_sock(
-               struct lttcomm_sock *sock);
+extern struct lttcomm_sock *lttcomm_accept_inet6_sock(struct lttcomm_sock *sock);
 extern int lttcomm_bind_inet6_sock(struct lttcomm_sock *sock);
 extern int lttcomm_close_inet6_sock(struct lttcomm_sock *sock);
 extern int lttcomm_connect_inet6_sock(struct lttcomm_sock *sock);
 extern int lttcomm_listen_inet6_sock(struct lttcomm_sock *sock, int backlog);
 
-extern ssize_t lttcomm_recvmsg_inet6_sock(struct lttcomm_sock *sock, void *buf,
-               size_t len, int flags);
-extern ssize_t lttcomm_sendmsg_inet6_sock(struct lttcomm_sock *sock,
-               const void *buf, size_t len, int flags);
+extern ssize_t
+lttcomm_recvmsg_inet6_sock(struct lttcomm_sock *sock, void *buf, size_t len, int flags);
+extern ssize_t
+lttcomm_sendmsg_inet6_sock(struct lttcomm_sock *sock, const void *buf, size_t len, int flags);
 
-#endif /* _LTTCOMM_INET6_H */
+#endif /* _LTTCOMM_INET6_H */
This page took 0.023657 seconds and 4 git commands to generate.