diff options
author | Cao jin | 2016-07-21 12:33:33 +0200 |
---|---|---|
committer | Paolo Bonzini | 2016-08-02 12:03:58 +0200 |
commit | f8ea7a8656a807a8a3e4e2389059679716a75baa (patch) | |
tree | 92ca0451e7e578b0ea7bc6cdaa26167f6a571150 /include/qemu/sockets.h | |
parent | util: drop inet_nonblocking_connect() (diff) | |
download | qemu-f8ea7a8656a807a8a3e4e2389059679716a75baa.tar.gz qemu-f8ea7a8656a807a8a3e4e2389059679716a75baa.tar.xz qemu-f8ea7a8656a807a8a3e4e2389059679716a75baa.zip |
util: drop unix_nonblocking_connect()
It is never used; all nonblocking connect now goes through
socket_connect(), which calls unix_connect_addr().
Cc: Daniel P. Berrange <berrange@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Message-Id: <1469097213-26441-3-git-send-email-caoj.fnst@cn.fujitsu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qemu/sockets.h')
-rw-r--r-- | include/qemu/sockets.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/qemu/sockets.h b/include/qemu/sockets.h index 2cbe6432cd..28a28c0717 100644 --- a/include/qemu/sockets.h +++ b/include/qemu/sockets.h @@ -41,9 +41,6 @@ NetworkAddressFamily inet_netfamily(int family); int unix_listen(const char *path, char *ostr, int olen, Error **errp); int unix_connect(const char *path, Error **errp); -int unix_nonblocking_connect(const char *str, - NonBlockingConnectHandler *callback, - void *opaque, Error **errp); SocketAddress *socket_parse(const char *str, Error **errp); int socket_connect(SocketAddress *addr, Error **errp, |