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 /stream | |
parent | 2e2c64dd3adb225800b5bc42cff75cfca67071be (diff) |
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 'stream')
-rw-r--r-- | stream/stream_dvb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c index 41352822d4..4816fbeda0 100644 --- a/stream/stream_dvb.c +++ b/stream/stream_dvb.c @@ -44,6 +44,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA #include "help_mp.h" #include "m_option.h" #include "m_struct.h" +#include "get_path.h" #include "libavutil/avstring.h" #include "dvbin.h" @@ -584,8 +585,6 @@ int dvb_step_channel(dvb_priv_t *priv, int dir) -extern char *get_path(const char *); - static void dvbin_close(stream_t *stream) { int i; |