[MPlayer-cvslog] r32088 - trunk/libmenu/menu_filesel.c

diego subversion at mplayerhq.hu
Wed Sep 8 20:30:14 CEST 2010


Author: diego
Date: Wed Sep  8 20:30:13 2010
New Revision: 32088

Log:
Add proper #includes instead of filename/file_filter extern declarations.

Modified:
   trunk/libmenu/menu_filesel.c

Modified: trunk/libmenu/menu_filesel.c
==============================================================================
--- trunk/libmenu/menu_filesel.c	Wed Sep  8 20:28:44 2010	(r32087)
+++ trunk/libmenu/menu_filesel.c	Wed Sep  8 20:30:13 2010	(r32088)
@@ -35,6 +35,8 @@
 
 #include "m_struct.h"
 #include "m_option.h"
+#include "mp_core.h"
+#include "mplayer.h"
 
 #include "libmpcodecs/img_format.h"
 #include "libmpcodecs/mp_image.h"
@@ -48,7 +50,6 @@
 
 int menu_keepdir = 0;
 char *menu_chroot = NULL;
-extern char *filename;
 
 struct list_entry_s {
   struct list_entry p;
@@ -235,7 +236,6 @@ static int open_dir(menu_t* menu,char* a
   char* p = NULL;
   list_entry_t* e;
   DIR* dirp;
-  extern int file_filter;
   char **extensions, **elem, *ext;
 
   menu_list_init(menu);


More information about the MPlayer-cvslog mailing list