diff options
author | Max Kellermann <max@duempel.org> | 2009-01-03 14:51:43 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-03 14:51:43 +0100 |
commit | 8ebb3196a854d7e870bbbe904b534641df7d5f89 (patch) | |
tree | 686ec9751d46b757e8b3b6db058cbde70cb9ff74 /src/utils.c | |
parent | 30f75f7f01a2241fa8554ee1627e358a2cc8a3d0 (diff) | |
download | mpd-8ebb3196a854d7e870bbbe904b534641df7d5f89.tar.gz mpd-8ebb3196a854d7e870bbbe904b534641df7d5f89.tar.xz mpd-8ebb3196a854d7e870bbbe904b534641df7d5f89.zip |
listen: use GLib instead of utils.h
Diffstat (limited to '')
-rw-r--r-- | src/utils.c | 14 |
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); |