[CRIU] [PATCH 1/4] sockets.c cleanup: no need for backslash when
"calling" a define
Kir Kolyshkin
kir at openvz.org
Fri Feb 10 08:53:53 EST 2012
Fix too long line while at it.
No code change, pure cleanup.
Signed-off-by: Kir Kolyshkin <kir 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];
--
1.7.7.6
More information about the CRIU
mailing list