diff options
author | rathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-05 23:46:08 +0000 |
---|---|---|
committer | rathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-05 23:46:08 +0000 |
commit | 45defa1aa0bb0b7168702023baec6edd77c0a364 (patch) | |
tree | e6d889b3612bb9fa37cdcd81adbf8dc8296617ee /stream | |
parent | ca7997a50cf06885a54f4d548696f10188576e43 (diff) | |
download | mpv-45defa1aa0bb0b7168702023baec6edd77c0a364.tar.bz2 mpv-45defa1aa0bb0b7168702023baec6edd77c0a364.tar.xz |
Fix a few gcc warnings, approved by Diego and Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22160 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r-- | stream/cache2.c | 3 | ||||
-rw-r--r-- | stream/network.c | 2 | ||||
-rw-r--r-- | stream/tcp.c | 1 |
3 files changed, 2 insertions, 4 deletions
diff --git a/stream/cache2.c b/stream/cache2.c index 6ad33d8664..0e6f2eef9b 100644 --- a/stream/cache2.c +++ b/stream/cache2.c @@ -28,12 +28,11 @@ static DWORD WINAPI ThreadProc(void* s); #include "help_mp.h" #include "stream.h" +#include "input/input.h" int stream_fill_buffer(stream_t *s); int stream_seek_long(stream_t *s,off_t pos); -extern int mp_input_check_interrupt(int time); - typedef struct { // constats: unsigned char *buffer; // base pointer of the alllocated buffer memory diff --git a/stream/network.c b/stream/network.c index 506474b6cd..8ac983ebe1 100644 --- a/stream/network.c +++ b/stream/network.c @@ -40,8 +40,6 @@ extern int stream_cache_size; -extern int mp_input_check_interrupt(int time); - /* Variables for the command line option -user, -passwd, -bandwidth, -user-agent and -nocookies */ diff --git a/stream/tcp.c b/stream/tcp.c index a9b868c4d0..ad7e1d9398 100644 --- a/stream/tcp.c +++ b/stream/tcp.c @@ -19,6 +19,7 @@ #include "mp_msg.h" #include "help_mp.h" +#include "input/input.h" #ifndef HAVE_WINSOCK2 #include <netdb.h> |