summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-28 11:20:24 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-28 11:20:24 +0000
commit84157efa5ac4ee391e8615db69b07027428e331d (patch)
tree08118149c7d5e3cf022159765da3f0848da52164 /gui
parent2e2c64dd3adb225800b5bc42cff75cfca67071be (diff)
downloadmpv-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.c1
-rw-r--r--gui/interface.c1
-rw-r--r--gui/interface.h2
3 files changed, 2 insertions, 2 deletions
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 );