Mercurial > mplayer.hg
diff stream/stream_dvb.c @ 24242:76f5d8892c04
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.
author | diego |
---|---|
date | Tue, 28 Aug 2007 11:20:24 +0000 |
parents | 9fb716ab06a3 |
children | d261f5109660 |
line wrap: on
line diff
--- a/stream/stream_dvb.c Tue Aug 28 11:04:36 2007 +0000 +++ b/stream/stream_dvb.c Tue Aug 28 11:20:24 2007 +0000 @@ -44,6 +44,7 @@ #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 @@ -extern char *get_path(const char *); - static void dvbin_close(stream_t *stream) { int i;