aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/utils.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/utils.c b/src/utils.c
index 16a4cf018..4815a0bc1 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -61,20 +61,6 @@ void my_usleep(long usec)
#endif
}
-int ipv6Supported(void)
-{
-#ifdef HAVE_IPV6
- int s;
- s = socket(AF_INET6, SOCK_STREAM, 0);
- if (s == -1)
- return 0;
- close(s);
- return 1;
-#else
- return 0;
-#endif
-}
-
G_GNUC_MALLOC char *xstrdup(const char *s)
{
char *ret = strdup(s);