[MPlayer-cvslog] r23172 - in trunk/gui: interface.c mplayer/common.c mplayer/gtk/eq.c mplayer/gtk/menu.c mplayer/gtk/opts.c mplayer/gtk/url.c mplayer/menu.c mplayer/mw.c mplayer/sw.c

diego subversion at mplayerhq.hu
Sun Apr 29 14:44:34 CEST 2007


Author: diego
Date: Sun Apr 29 14:44:34 2007
New Revision: 23172

Log:
Fix several implicit declarations of functions warnings.


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

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	(original)
+++ trunk/gui/interface.c	Sun Apr 29 14:44:34 2007
@@ -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"

Modified: trunk/gui/mplayer/common.c
==============================================================================
--- trunk/gui/mplayer/common.c	(original)
+++ trunk/gui/mplayer/common.c	Sun Apr 29 14:44:34 2007
@@ -24,6 +24,7 @@
 #include "../libmpdemux/demuxer.h"
 #include "../libmpdemux/stheader.h"
 #include "../codec-cfg.h"
+#include "../access_mpcontext.h"
 
 
 #include "play.h"

Modified: trunk/gui/mplayer/gtk/eq.c
==============================================================================
--- trunk/gui/mplayer/gtk/eq.c	(original)
+++ trunk/gui/mplayer/gtk/eq.c	Sun Apr 29 14:44:34 2007
@@ -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"

Modified: trunk/gui/mplayer/gtk/menu.c
==============================================================================
--- trunk/gui/mplayer/gtk/menu.c	(original)
+++ trunk/gui/mplayer/gtk/menu.c	Sun Apr 29 14:44:34 2007
@@ -10,6 +10,7 @@
 
 #include "menu.h"
 #include "../widgets.h"
+#include "../gmplayer.h"
 #include "app.h"
 
 #include "stream/stream.h"

Modified: trunk/gui/mplayer/gtk/opts.c
==============================================================================
--- trunk/gui/mplayer/gtk/opts.c	(original)
+++ trunk/gui/mplayer/gtk/opts.c	Sun Apr 29 14:44:34 2007
@@ -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"

Modified: trunk/gui/mplayer/gtk/url.c
==============================================================================
--- trunk/gui/mplayer/gtk/url.c	(original)
+++ trunk/gui/mplayer/gtk/url.c	Sun Apr 29 14:44:34 2007
@@ -14,6 +14,7 @@
 #include "interface.h"
 #include "app.h"
 #include "../widgets.h"
+#include "../gmplayer.h"
 #include "help_mp.h"
 
 GtkWidget * URL = NULL;

Modified: trunk/gui/mplayer/menu.c
==============================================================================
--- trunk/gui/mplayer/menu.c	(original)
+++ trunk/gui/mplayer/menu.c	Sun Apr 29 14:44:34 2007
@@ -4,6 +4,7 @@
 #include <inttypes.h>
 
 #include "app.h"
+#include "gmplayer.h"
 #include "../config.h"
 #include "../help_mp.h"
 #include "../mp_msg.h"

Modified: trunk/gui/mplayer/mw.c
==============================================================================
--- trunk/gui/mplayer/mw.c	(original)
+++ trunk/gui/mplayer/mw.c	Sun Apr 29 14:44:34 2007
@@ -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"

Modified: trunk/gui/mplayer/sw.c
==============================================================================
--- trunk/gui/mplayer/sw.c	(original)
+++ trunk/gui/mplayer/sw.c	Sun Apr 29 14:44:34 2007
@@ -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"



More information about the MPlayer-cvslog mailing list