changeset 32004:c536d4b0ce3d

Add proper #includes instead of filename/file_filter extern declarations.
author diego
date Wed, 08 Sep 2010 18:30:13 +0000
parents 30a84c65efa4
children f1a1e1d77c99
files libmenu/menu_filesel.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmenu/menu_filesel.c	Wed Sep 08 18:28:44 2010 +0000
+++ b/libmenu/menu_filesel.c	Wed Sep 08 18:30:13 2010 +0000
@@ -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 @@
   char* p = NULL;
   list_entry_t* e;
   DIR* dirp;
-  extern int file_filter;
   char **extensions, **elem, *ext;
 
   menu_list_init(menu);