# HG changeset patch # User diego # Date 1283970613 0 # Node ID c536d4b0ce3da1c8ea9cf790e1d44ddbc5f321d2 # Parent 30a84c65efa405d249ef9e093b302b973b6440d2 Add proper #includes instead of filename/file_filter extern declarations. diff -r 30a84c65efa4 -r c536d4b0ce3d libmenu/menu_filesel.c --- 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);