Mercurial > mplayer.hg
diff libmpdemux/tv.h @ 14607:7a80c6ac5058
several sets of headers declare global variables in them, which causes multiple definition errors with gcc 4.x
patch by Alexander Strange <astrange ithinksw.com>
author | iive |
---|---|
date | Sat, 29 Jan 2005 12:24:43 +0000 |
parents | 2a9afbfc79d7 |
children | 6ff3379a0862 |
line wrap: on
line diff
--- a/libmpdemux/tv.h Fri Jan 28 10:12:28 2005 +0000 +++ b/libmpdemux/tv.h Sat Jan 29 12:24:43 2005 +0000 @@ -95,9 +95,9 @@ struct tv_channels_s *prev; } tv_channels_t; -tv_channels_t *tv_channel_list; -tv_channels_t *tv_channel_current, *tv_channel_last; -char *tv_channel_last_real; +extern tv_channels_t *tv_channel_list; +extern tv_channels_t *tv_channel_current, *tv_channel_last; +extern char *tv_channel_last_real; #define TVI_CONTROL_FALSE 0 #define TVI_CONTROL_TRUE 1