Fix several implicit declarations of functions warnings.
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 29 Apr 2007 12:44:34 +0000 (12:44 +0000)
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 29 Apr 2007 12:44:34 +0000 (12:44 +0000)
git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@23172 b3059339-0415-0410-9bf9-f77b7e298cf2

gui/interface.c
gui/mplayer/common.c
gui/mplayer/gtk/eq.c
gui/mplayer/gtk/menu.c
gui/mplayer/gtk/opts.c
gui/mplayer/gtk/url.c
gui/mplayer/menu.c
gui/mplayer/mw.c
gui/mplayer/sw.c

index eb461bc..86cfae5 100644 (file)
@@ -46,6 +46,11 @@ extern af_cfg_t af_cfg;
 #include "stream/stream_dvd.h"
 #endif
 
+#ifdef HAVE_VCD
+#include <sys/ioctl.h>
+#include <errno.h>
+#include "stream/vcd_read.h"
+#endif
 
 #include "m_config.h"
 #include "m_option.h"
index 899389b..95376e3 100644 (file)
@@ -24,6 +24,7 @@
 #include "../libmpdemux/demuxer.h"
 #include "../libmpdemux/stheader.h"
 #include "../codec-cfg.h"
+#include "../access_mpcontext.h"
 
 
 #include "play.h"
index 640a750..1e19fcf 100644 (file)
 #include "help_mp.h"
 #include "libaf/equalizer.h"
 #include "libvo/video_out.h"
+#include "stream/stream.h"
+#include "libmpdemux/demuxer.h"
+#include "libmpdemux/stheader.h"
+#include "libmpcodecs/dec_video.h"
 #include "../widgets.h"
 
 #include "eq.h"
index 6a6ed39..fc8e38c 100644 (file)
@@ -10,6 +10,7 @@
 
 #include "menu.h"
 #include "../widgets.h"
+#include "../gmplayer.h"
 #include "app.h"
 
 #include "stream/stream.h"
index 60e9a1b..e57688d 100644 (file)
@@ -1,4 +1,5 @@
 
+#include <stdlib.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
 #include "mixer.h"
 #include "libao2/audio_out.h"
 #include "libvo/video_out.h"
+#include "stream/stream.h"
+#include "libmpdemux/demuxer.h"
+#include "libmpdemux/stheader.h"
+#include "libmpcodecs/dec_video.h"
 
 #include "app.h"
 #include "cfg.h"
@@ -21,9 +26,6 @@
 #include "fs.h"
 #include "common.h"
 
-typedef struct sh_video_t sh_video_t;
-typedef struct sh_audio_t sh_audio_t;
-
 // for mpcodecs_[av]d_drivers:
 #include "libmpcodecs/vd.h"
 #include "libmpcodecs/ad.h"
index 6ad8b61..591923f 100644 (file)
@@ -14,6 +14,7 @@
 #include "interface.h"
 #include "app.h"
 #include "../widgets.h"
+#include "../gmplayer.h"
 #include "help_mp.h"
 
 GtkWidget * URL = NULL;
index e8ef5ca..9c77c54 100644 (file)
@@ -4,6 +4,7 @@
 #include <inttypes.h>
 
 #include "app.h"
+#include "gmplayer.h"
 #include "../config.h"
 #include "../help_mp.h"
 #include "../mp_msg.h"
index 48d9733..40b1fe7 100644 (file)
@@ -7,6 +7,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 
+#include "gmplayer.h"
 #include "app.h"
 #include "skin/font.h"
 #include "skin/skin.h"
index 20b6807..245277f 100644 (file)
@@ -7,6 +7,7 @@
 #include "../libvo/x11_common.h"
 #include "../libvo/fastmemcpy.h"
 
+#include "gmplayer.h"
 #include "app.h"
 #include "interface.h"
 #include "../help_mp.h"