From 2cad7aea1c3c0034ccab3578c624469088651a41 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Tue, 7 Oct 2003 14:56:51 +0000 Subject: fix some compiler warnings CVS patchset: 5461 CVS date: 2003/10/07 14:56:51 --- src/xine-engine/io_helper.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/io_helper.c') diff --git a/src/xine-engine/io_helper.c b/src/xine-engine/io_helper.c index 7b190b2c5..0ed24e543 100644 --- a/src/xine-engine/io_helper.c +++ b/src/xine-engine/io_helper.c @@ -45,7 +45,8 @@ #define XIO_POLLING_INTERVAL 50000 /* usec */ -int xio_tcp_connect_ipv4(xine_stream_t *stream, const char *host, int port) { +#ifndef ENABLE_IPV6 +static int xio_tcp_connect_ipv4(xine_stream_t *stream, const char *host, int port) { struct hostent *h; int i, s; @@ -106,6 +107,7 @@ int xio_tcp_connect_ipv4(xine_stream_t *stream, const char *host, int port) { } return -1; } +#endif int xio_tcp_connect(xine_stream_t *stream, const char *host, int port) { -- cgit v1.2.3