diff options
author | Mao Zhongyi <maozy.fnst@cn.fujitsu.com> | 2017-06-08 11:11:24 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2017-07-11 11:18:37 +0300 |
commit | 3bcf7d7df552c8bd4fdfe70b753f45169407cacb (patch) | |
tree | 2501f9650cbad61c30adba1d88b1d7003cd38018 /include/qemu/sockets.h | |
parent | aa5a2c0b3dff907017388895d3005bd348cca6c4 (diff) | |
download | qemu-3bcf7d7df552c8bd4fdfe70b753f45169407cacb.zip qemu-3bcf7d7df552c8bd4fdfe70b753f45169407cacb.tar.gz qemu-3bcf7d7df552c8bd4fdfe70b753f45169407cacb.tar.bz2 |
util/qemu-sockets: Drop unused helper socket_address_to_string()
Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/qemu/sockets.h')
-rw-r--r-- | include/qemu/sockets.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/qemu/sockets.h b/include/qemu/sockets.h index 5c326db..ef6b559 100644 --- a/include/qemu/sockets.h +++ b/include/qemu/sockets.h @@ -106,21 +106,6 @@ SocketAddress *socket_local_address(int fd, Error **errp); SocketAddress *socket_remote_address(int fd, Error **errp); /** - * socket_address_to_string: - * @addr: the socket address struct - * @errp: pointer to uninitialized error object - * - * Get the string representation of the socket - * address. A pointer to the char array containing - * string format will be returned, the caller is - * required to release the returned value when no - * longer required with g_free. - * - * Returns: the socket address in string format, or NULL on error - */ -char *socket_address_to_string(struct SocketAddress *addr, Error **errp); - -/** * socket_address_flatten: * @addr: the socket address to flatten * |