diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2010-01-20 11:42:38 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-01-20 08:25:23 -0600 |
commit | c9c4b34ed55e1452de9051d22c0d591f1745d4ea (patch) | |
tree | dde9c81a5eaa5d4b12c2a6aacda4e00e488a5baa /qemu-sockets.c | |
parent | a1829205a5e4b766b67b843f12cb8235d2387b35 (diff) | |
download | qemu-c9c4b34ed55e1452de9051d22c0d591f1745d4ea.tar.gz qemu-c9c4b34ed55e1452de9051d22c0d591f1745d4ea.tar.bz2 qemu-c9c4b34ed55e1452de9051d22c0d591f1745d4ea.zip |
net: Make inet_strfamily() public
So that it can be used by other subsystems.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-sockets.c')
-rw-r--r-- | qemu-sockets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-sockets.c b/qemu-sockets.c index 8850516f2c..720de22cf5 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"; |