diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-28 11:20:24 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-28 11:20:24 +0000 |
commit | 84157efa5ac4ee391e8615db69b07027428e331d (patch) | |
tree | 08118149c7d5e3cf022159765da3f0848da52164 /gui | |
parent | 2e2c64dd3adb225800b5bc42cff75cfca67071be (diff) | |
download | mpv-84157efa5ac4ee391e8615db69b07027428e331d.tar.bz2 mpv-84157efa5ac4ee391e8615db69b07027428e331d.tar.xz |
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
Diffstat (limited to 'gui')
-rw-r--r-- | gui/cfg.c | 1 | ||||
-rw-r--r-- | gui/interface.c | 1 | ||||
-rw-r--r-- | gui/interface.h | 2 |
3 files changed, 2 insertions, 2 deletions
@@ -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 ); |