From 84157efa5ac4ee391e8615db69b07027428e331d Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 28 Aug 2007 11:20:24 +0000 Subject: Clean up the way get_path is handled: Compile get_path.c to an object to link against instead of directly #including the C file and replace the many extern declarations by a proper header file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24262 b3059339-0415-0410-9bf9-f77b7e298cf2 --- gui/cfg.c | 1 + gui/interface.c | 1 + gui/interface.h | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gui') diff --git a/gui/cfg.c b/gui/cfg.c index 2f96491675..a42c92487b 100644 --- a/gui/cfg.c +++ b/gui/cfg.c @@ -10,6 +10,7 @@ #include "mplayer.h" #include "m_config.h" #include "m_option.h" +#include "get_path.h" #include "libvo/sub.h" #include "libvo/video_out.h" #include "stream/stream.h" diff --git a/gui/interface.c b/gui/interface.c index aa257e777a..63d86cde4e 100644 --- a/gui/interface.c +++ b/gui/interface.c @@ -19,6 +19,7 @@ #include "app.h" #include "cfg.h" #include "help_mp.h" +#include "get_path.h" #include "libvo/x11_common.h" #include "libvo/video_out.h" #include "libvo/font_load.h" diff --git a/gui/interface.h b/gui/interface.h index 26a885a9d8..ed2f788092 100644 --- a/gui/interface.h +++ b/gui/interface.h @@ -145,8 +145,6 @@ extern guiInterface_t guiIntfStruct; extern int use_gui; -extern char *get_path(const char *filename); - extern void guiInit( void ); extern void guiDone( void ); extern int guiGetEvent( int type,char * arg ); -- cgit v1.2.3