changeset 23154:e564b9cd7290

Fix several implicit declarations of functions warnings.
author diego
date Sun, 29 Apr 2007 12:44:34 +0000
parents 52a2e17e7001
children 1befc8d767cd
files 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
diffstat 9 files changed, 20 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Sun Apr 29 12:29:33 2007 +0000
+++ b/gui/interface.c	Sun Apr 29 12:44:34 2007 +0000
@@ -46,6 +46,11 @@
 #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"
--- a/gui/mplayer/common.c	Sun Apr 29 12:29:33 2007 +0000
+++ b/gui/mplayer/common.c	Sun Apr 29 12:44:34 2007 +0000
@@ -24,6 +24,7 @@
 #include "../libmpdemux/demuxer.h"
 #include "../libmpdemux/stheader.h"
 #include "../codec-cfg.h"
+#include "../access_mpcontext.h"
 
 
 #include "play.h"
--- a/gui/mplayer/gtk/eq.c	Sun Apr 29 12:29:33 2007 +0000
+++ b/gui/mplayer/gtk/eq.c	Sun Apr 29 12:44:34 2007 +0000
@@ -15,6 +15,10 @@
 #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"
--- a/gui/mplayer/gtk/menu.c	Sun Apr 29 12:29:33 2007 +0000
+++ b/gui/mplayer/gtk/menu.c	Sun Apr 29 12:44:34 2007 +0000
@@ -10,6 +10,7 @@
 
 #include "menu.h"
 #include "../widgets.h"
+#include "../gmplayer.h"
 #include "app.h"
 
 #include "stream/stream.h"
--- a/gui/mplayer/gtk/opts.c	Sun Apr 29 12:29:33 2007 +0000
+++ b/gui/mplayer/gtk/opts.c	Sun Apr 29 12:44:34 2007 +0000
@@ -1,4 +1,5 @@
 
+#include <stdlib.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
@@ -12,6 +13,10 @@
 #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"
--- a/gui/mplayer/gtk/url.c	Sun Apr 29 12:29:33 2007 +0000
+++ b/gui/mplayer/gtk/url.c	Sun Apr 29 12:44:34 2007 +0000
@@ -14,6 +14,7 @@
 #include "interface.h"
 #include "app.h"
 #include "../widgets.h"
+#include "../gmplayer.h"
 #include "help_mp.h"
 
 GtkWidget * URL = NULL;
--- a/gui/mplayer/menu.c	Sun Apr 29 12:29:33 2007 +0000
+++ b/gui/mplayer/menu.c	Sun Apr 29 12:44:34 2007 +0000
@@ -4,6 +4,7 @@
 #include <inttypes.h>
 
 #include "app.h"
+#include "gmplayer.h"
 #include "../config.h"
 #include "../help_mp.h"
 #include "../mp_msg.h"
--- a/gui/mplayer/mw.c	Sun Apr 29 12:29:33 2007 +0000
+++ b/gui/mplayer/mw.c	Sun Apr 29 12:44:34 2007 +0000
@@ -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"
--- a/gui/mplayer/sw.c	Sun Apr 29 12:29:33 2007 +0000
+++ b/gui/mplayer/sw.c	Sun Apr 29 12:44:34 2007 +0000
@@ -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"