diff options
-rw-r--r-- | src/xine-engine/io_helper.c | 4 | ||||
-rw-r--r-- | src/xine-engine/vo_scale.c | 3 |
2 files changed, 4 insertions, 3 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) { diff --git a/src/xine-engine/vo_scale.c b/src/xine-engine/vo_scale.c index dc06e93e3..10a8e5102 100644 --- a/src/xine-engine/vo_scale.c +++ b/src/xine-engine/vo_scale.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: vo_scale.c,v 1.24 2003/10/04 11:46:01 komadori Exp $ + * $Id: vo_scale.c,v 1.25 2003/10/07 14:56:51 mroi Exp $ * * Contains common code to calculate video scaling parameters. * In short, it will map frame dimensions to screen/window size. @@ -44,7 +44,6 @@ void vo_scale_compute_ideal_size (vo_scale_t *this) { double image_ratio, desired_ratio; - static int warning_issued = 0; if (this->scaling_disabled) { |