From c9c4b34ed55e1452de9051d22c0d591f1745d4ea Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Wed, 20 Jan 2010 11:42:38 -0200 Subject: net: Make inet_strfamily() public So that it can be used by other subsystems. Signed-off-by: Luiz Capitulino Signed-off-by: Anthony Liguori --- qemu-sockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qemu-sockets.c') diff --git a/qemu-sockets.c b/qemu-sockets.c index 8850516..720de22 100644 --- a/qemu-sockets.c +++ b/qemu-sockets.c @@ -91,7 +91,7 @@ static void inet_setport(struct addrinfo *e, int port) } } -static const char *inet_strfamily(int family) +const char *inet_strfamily(int family) { switch (family) { case PF_INET6: return "ipv6"; -- cgit v1.1