diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2018-06-09 16:06:51 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@virtuozzo.com> | 2018-06-19 22:51:01 +0300 |
commit | 487a96e8050215f00aa30d9f1eb1aef73a690a0f (patch) | |
tree | d581f316d3048ed996115806c53d9323bd9beb33 | |
parent | b8cc29235644b0ec24755a03c08f45bbebace82e (diff) |
unix: Move unix_resolve_name declaration on top
This makes code more accurate.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
-rw-r--r-- | criu/sk-unix.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/criu/sk-unix.c b/criu/sk-unix.c index d8b513b94..c0d2289d8 100644 --- a/criu/sk-unix.c +++ b/criu/sk-unix.c @@ -91,6 +91,9 @@ struct unix_sk_desc { static LIST_HEAD(unix_sockets); +static int unix_resolve_name(int lfd, uint32_t id, struct unix_sk_desc *d, + UnixSkEntry *ue, const struct fd_parms *p); + struct unix_sk_listen_icon { unsigned int peer_ino; struct unix_sk_desc *sk_desc; @@ -314,8 +317,6 @@ err: return -ENOENT; } -static int unix_resolve_name(int lfd, uint32_t id, struct unix_sk_desc *d, - UnixSkEntry *ue, const struct fd_parms *p); static int dump_one_unix_fd(int lfd, uint32_t id, const struct fd_parms *p) { struct unix_sk_desc *sk, *peer; |