diff options
Diffstat (limited to 'include/qemu/sockets.h')
-rw-r--r-- | include/qemu/sockets.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/sockets.h b/include/qemu/sockets.h index af28532..8b9325c 100644 --- a/include/qemu/sockets.h +++ b/include/qemu/sockets.h @@ -34,7 +34,7 @@ typedef void NonBlockingConnectHandler(int fd, Error *err, void *opaque); int inet_ai_family_from_address(InetSocketAddress *addr, Error **errp); -InetSocketAddress *inet_parse(const char *str, Error **errp); +int inet_parse(InetSocketAddress *addr, const char *str, Error **errp); int inet_connect(const char *str, Error **errp); int inet_connect_saddr(InetSocketAddress *saddr, NonBlockingConnectHandler *callback, void *opaque, |