diff options
author | Cao jin <caoj.fnst@cn.fujitsu.com> | 2016-07-21 18:33:32 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-08-02 12:03:58 +0200 |
commit | 00432b69538559285ca55677c1002cad556aea50 (patch) | |
tree | d650d998c3896636a3679bd6fee81bc1d6168dac /include | |
parent | 3f822cff4473fd6313f6c06623edf148b3ad2cc6 (diff) | |
download | qemu-00432b69538559285ca55677c1002cad556aea50.zip |
util: drop inet_nonblocking_connect()
It is never used; all nonblocking connect now goes through
socket_connect(), which calls inet_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-2-git-send-email-caoj.fnst@cn.fujitsu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-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 5fe01fbc6c..2cbe6432cd 100644 --- a/include/qemu/sockets.h +++ b/include/qemu/sockets.h @@ -36,9 +36,6 @@ InetSocketAddress *inet_parse(const char *str, Error **errp); int inet_listen(const char *str, char *ostr, int olen, int socktype, int port_offset, Error **errp); int inet_connect(const char *str, Error **errp); -int inet_nonblocking_connect(const char *str, - NonBlockingConnectHandler *callback, - void *opaque, Error **errp); NetworkAddressFamily inet_netfamily(int family); |