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 /input | |
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 'input')
-rw-r--r-- | input/input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/input/input.c b/input/input.c index 21ef7b99a8..07ce0de8df 100644 --- a/input/input.c +++ b/input/input.c @@ -25,6 +25,7 @@ #include "help_mp.h" #include "m_config.h" #include "m_option.h" +#include "get_path.h" #include "joystick.h" @@ -1647,8 +1648,6 @@ mp_input_get_section(void) { return section; } -extern char *get_path(const char *filename); - void mp_input_init(int use_gui) { char* file; |