diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-10-07 14:56:51 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-10-07 14:56:51 +0000 |
commit | 2cad7aea1c3c0034ccab3578c624469088651a41 (patch) | |
tree | bcdbbc70eab85b96ae0e524f9f404cbf216f7275 /src/xine-engine/io_helper.c | |
parent | b14520626762d8110b43c0632f9ee0d50f71d73b (diff) | |
download | xine-lib-2cad7aea1c3c0034ccab3578c624469088651a41.tar.gz xine-lib-2cad7aea1c3c0034ccab3578c624469088651a41.tar.bz2 |
fix some compiler warnings
CVS patchset: 5461
CVS date: 2003/10/07 14:56:51
Diffstat (limited to 'src/xine-engine/io_helper.c')
-rw-r--r-- | src/xine-engine/io_helper.c | 4 |
1 files changed, 3 insertions, 1 deletions
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) { |