diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-07-01 15:47:36 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-07-01 15:47:36 +0200 |
commit | ce5c77cc5b727dbe3122d0d3b585e7613b3b1c3d (patch) | |
tree | da92d23f9998bb1d3fc9f1733cfd3d0a253117b1 /src/socket.c | |
parent | dcdb47373a375087d2dd8cee5e2a9c66fcc147eb (diff) | |
download | libmnl-ce5c77cc5b727dbe3122d0d3b585e7613b3b1c3d.tar.gz |
src: cleanup function definitions
Place the returned value, function name and parameters (as many as can
fit) in the same line.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/socket.c')
-rw-r--r-- | src/socket.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/socket.c b/src/socket.c index cc22f5b..31d6fbe 100644 --- a/src/socket.c +++ b/src/socket.c @@ -235,8 +235,8 @@ int mnl_socket_bind(struct mnl_socket *nl, unsigned int groups, pid_t pid) * returns the number of bytes sent. */ EXPORT_SYMBOL(mnl_socket_sendto); -ssize_t -mnl_socket_sendto(const struct mnl_socket *nl, const void *buf, size_t len) +ssize_t mnl_socket_sendto(const struct mnl_socket *nl, const void *buf, + size_t len) { static const struct sockaddr_nl snl = { .nl_family = AF_NETLINK @@ -260,8 +260,8 @@ mnl_socket_sendto(const struct mnl_socket *nl, const void *buf, size_t len) * message without truncating it. */ EXPORT_SYMBOL(mnl_socket_recvfrom); -ssize_t -mnl_socket_recvfrom(const struct mnl_socket *nl, void *buf, size_t bufsiz) +ssize_t mnl_socket_recvfrom(const struct mnl_socket *nl, void *buf, + size_t bufsiz) { ssize_t ret; struct sockaddr_nl addr; |