changeset 23795:1cb14b091f46

Fix a bunch of redundant redeclaration warnings.
author diego
date Wed, 18 Jul 2007 10:09:42 +0000
parents dac02a6abee1
children 298fedea557d
files gui/cfg.c gui/interface.c gui/mplayer/gmplayer.h gui/mplayer/gtk/mb.h gui/mplayer/gtk/pl.h gui/mplayer/gtk/sb.h gui/mplayer/menu.c gui/mplayer/play.c gui/mplayer/widgets.h gui/wm/ws.c
diffstat 10 files changed, 2 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/gui/cfg.c	Wed Jul 18 10:09:09 2007 +0000
+++ b/gui/cfg.c	Wed Jul 18 10:09:42 2007 +0000
@@ -76,9 +76,6 @@
 #endif
 // ---
 
-extern char * get_path( const char * filename );
-extern int    flip;
-extern int    frame_dropping;
 extern int    stop_xscreensaver;
 extern int    m_config_parse_config_file(m_config_t* config, char *conffile);
 
--- a/gui/interface.c	Wed Jul 18 10:09:09 2007 +0000
+++ b/gui/interface.c	Wed Jul 18 10:09:42 2007 +0000
@@ -419,7 +419,6 @@
   evSkinBrowser
  };
 
-extern int    		frame_dropping;
 extern int              stream_dump_type;
 extern int  		vcd_track;
 extern m_obj_settings_t * vf_settings;
--- a/gui/mplayer/gmplayer.h	Wed Jul 18 10:09:09 2007 +0000
+++ b/gui/mplayer/gmplayer.h	Wed Jul 18 10:09:42 2007 +0000
@@ -13,7 +13,6 @@
 extern int             mplMiddleMenu;
 
 extern void mplInit( void * disp );
-extern void mplEventHandling( int msg,float param );
 
 extern void mplMainDraw( void );
 extern void mplEventHandling( int msg,float param );
--- a/gui/mplayer/gtk/mb.h	Wed Jul 18 10:09:09 2007 +0000
+++ b/gui/mplayer/gtk/mb.h	Wed Jul 18 10:09:42 2007 +0000
@@ -4,7 +4,6 @@
 
 #include <gtk/gtk.h>
 
-extern GtkWidget * gtkMessageBoxText;
 extern GtkWidget * MessageBox;
 
 extern GtkWidget * create_MessageBox( int type );
--- a/gui/mplayer/gtk/pl.h	Wed Jul 18 10:09:09 2007 +0000
+++ b/gui/mplayer/gtk/pl.h	Wed Jul 18 10:09:42 2007 +0000
@@ -4,8 +4,6 @@
 
 #include <gtk/gtk.h>
 
-extern GtkWidget * PlayList;
-
 extern void ShowPlayList( void );
 extern void HidePlayList( void );
 
--- a/gui/mplayer/gtk/sb.h	Wed Jul 18 10:09:09 2007 +0000
+++ b/gui/mplayer/gtk/sb.h	Wed Jul 18 10:09:42 2007 +0000
@@ -3,16 +3,10 @@
 
 #include <gtk/gtk.h>
 
-extern GtkWidget * SkinList;
 extern char      * sbSelectedSkin;
-extern char      * sbMPlayerDirInHome;
-extern char      * sbMPlayerDirInHome_obsolete;
-extern char      * sbMPlayerPrefixDir;
-extern char      * sbMPlayerPrefixDir_obsolete;
 extern GtkWidget * SkinBrowser;
 
 extern void ShowSkinBrowser( void );
-extern int gtkFillSkinList( gchar * mdir );
 extern GtkWidget * create_SkinBrowser( void );
 
 #endif
--- a/gui/mplayer/menu.c	Wed Jul 18 10:09:09 2007 +0000
+++ b/gui/mplayer/menu.c	Wed Jul 18 10:09:42 2007 +0000
@@ -18,8 +18,6 @@
 int             mplMenuX,mplMenuY;
 static int      mplMenuIsInitialized = 0;
 
-void mplHideMenu( int mx,int my,int w );
-
 void mplMenuDraw( void )
 {
  uint32_t * buf = NULL;
--- a/gui/mplayer/play.c	Wed Jul 18 10:09:09 2007 +0000
+++ b/gui/mplayer/play.c	Wed Jul 18 10:09:42 2007 +0000
@@ -63,8 +63,6 @@
   else wsSetBackgroundRGB( &appMPlayer.subWindow,appMPlayer.sub.R,appMPlayer.sub.G,appMPlayer.sub.B );
 }
 
-extern int mplSubRender;
-
 void mplEnd( void )
 {
  plItem * next;
--- a/gui/mplayer/widgets.h	Wed Jul 18 10:09:09 2007 +0000
+++ b/gui/mplayer/widgets.h	Wed Jul 18 10:09:42 2007 +0000
@@ -35,6 +35,8 @@
 
 extern char          * sbMPlayerDirInHome;
 extern char          * sbMPlayerPrefixDir;
+extern char          * sbMPlayerDirInHome_obsolete;
+extern char          * sbMPlayerPrefixDir_obsolete;
 
 extern GdkPixmap * gtkIcon;
 extern GdkBitmap * gtkIconMask;
--- a/gui/wm/ws.c	Wed Jul 18 10:09:09 2007 +0000
+++ b/gui/wm/ws.c	Wed Jul 18 10:09:42 2007 +0000
@@ -50,10 +50,6 @@
 
 #undef ENABLE_DPMS 
 
-#ifdef HAVE_XINERAMA
-extern int xinerama_screen;
-#endif
-
 typedef struct
 {
  unsigned long flags;
@@ -97,7 +93,6 @@
 int                  wsUseXShm = 1;
 int                  wsUseXShape = 1;
 
-int XShmGetEventBase( Display* );
 inline int wsSearch( Window win );
 
 // ---