[CRIU] [crtools-bot for Kir Kolyshkin ] sockets.c cleanup: no need
for backslash when "calling" a define
Cyrill Gorcunov
gorcunov at openvz.org
Fri Feb 10 09:07:19 EST 2012
The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit 26a7056c2613eb699ef7d75c19e3b8fb32d4c9f7
Author: Kir Kolyshkin <kir at openvz.org>
Date: Fri Feb 10 17:53:53 2012 +0400
sockets.c cleanup: no need for backslash when "calling" a define
Fix too long line while at it.
No code change, pure cleanup.
Signed-off-by: Kir Kolyshkin <kir at openvz.org>
Acked-by: Pavel Emelyanov <xemul at parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
sockets.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/sockets.c b/sockets.c
index 23c18a2..5b13bdb 100644
--- a/sockets.c
+++ b/sockets.c
@@ -101,12 +101,13 @@ struct inet_sk_desc {
}
static struct socket_desc *sockets[SK_HASH_SIZE];
-__gen_static_lookup_func(struct socket_desc, lookup_socket, sockets, ino, int, ino);
+__gen_static_lookup_func(struct socket_desc, lookup_socket, sockets,
+ ino, int, ino);
static struct unix_sk_listen_icon *unix_listen_icons[SK_HASH_SIZE];
-__gen_static_lookup_func(struct unix_sk_listen_icon, \
- lookup_unix_listen_icons, \
- unix_listen_icons, \
+__gen_static_lookup_func(struct unix_sk_listen_icon,
+ lookup_unix_listen_icons,
+ unix_listen_icons,
peer_ino, unsigned int, ino);
static struct unix_sk_listen *unix_listen[SK_HASH_SIZE];
More information about the CRIU
mailing list