# HG changeset patch # User reimar # Date 1200225717 0 # Node ID 7d5823bd451730037183c5ce7a475c2acddbc77e # Parent cd4af70b12ef725ed31cb017b08129b4a0d67313 Make all tvi_info_t const diff -r cd4af70b12ef -r 7d5823bd4517 stream/tv.c --- a/stream/tv.c Sun Jan 13 11:59:50 2008 +0000 +++ b/stream/tv.c Sun Jan 13 12:01:57 2008 +0000 @@ -41,11 +41,11 @@ char *tv_channel_last_real; /* enumerating drivers (like in stream.c) */ -extern tvi_info_t tvi_info_dummy; -extern tvi_info_t tvi_info_dshow; -extern tvi_info_t tvi_info_v4l; -extern tvi_info_t tvi_info_v4l2; -extern tvi_info_t tvi_info_bsdbt848; +extern const tvi_info_t tvi_info_dummy; +extern const tvi_info_t tvi_info_dshow; +extern const tvi_info_t tvi_info_v4l; +extern const tvi_info_t tvi_info_v4l2; +extern const tvi_info_t tvi_info_bsdbt848; /** List of drivers in autodetection order */ static const tvi_info_t* tvi_driver_list[]={ diff -r cd4af70b12ef -r 7d5823bd4517 stream/tvi_bsdbt848.c --- a/stream/tvi_bsdbt848.c Sun Jan 13 11:59:50 2008 +0000 +++ b/stream/tvi_bsdbt848.c Sun Jan 13 12:01:57 2008 +0000 @@ -69,7 +69,7 @@ static tvi_handle_t *tvi_init_bsdbt848(tv_param_t* tv_param); /* information about this file */ -tvi_info_t tvi_info_bsdbt848 = { +const tvi_info_t tvi_info_bsdbt848 = { tvi_init_bsdbt848, "Brooktree848 Support", "bsdbt848", diff -r cd4af70b12ef -r 7d5823bd4517 stream/tvi_dshow.c --- a/stream/tvi_dshow.c Sun Jan 13 11:59:50 2008 +0000 +++ b/stream/tvi_dshow.c Sun Jan 13 12:01:57 2008 +0000 @@ -102,7 +102,7 @@ /** information about this file */ -tvi_info_t tvi_info_dshow = { +const tvi_info_t tvi_info_dshow = { tvi_init_dshow, "DirectShow TV", "dshow", diff -r cd4af70b12ef -r 7d5823bd4517 stream/tvi_dummy.c --- a/stream/tvi_dummy.c Sun Jan 13 11:59:50 2008 +0000 +++ b/stream/tvi_dummy.c Sun Jan 13 12:01:57 2008 +0000 @@ -10,7 +10,7 @@ static tvi_handle_t *tvi_init_dummy(tv_param_t* tv_param); /* information about this file */ -tvi_info_t tvi_info_dummy = { +const tvi_info_t tvi_info_dummy = { tvi_init_dummy, "NULL-TV", "dummy", diff -r cd4af70b12ef -r 7d5823bd4517 stream/tvi_v4l.c --- a/stream/tvi_v4l.c Sun Jan 13 11:59:50 2008 +0000 +++ b/stream/tvi_v4l.c Sun Jan 13 12:01:57 2008 +0000 @@ -49,7 +49,7 @@ static tvi_handle_t *tvi_init_v4l(tv_param_t* tv_param); -tvi_info_t tvi_info_v4l = { +const tvi_info_t tvi_info_v4l = { tvi_init_v4l, "Video 4 Linux input", "v4l", diff -r cd4af70b12ef -r 7d5823bd4517 stream/tvi_v4l2.c --- a/stream/tvi_v4l2.c Sun Jan 13 11:59:50 2008 +0000 +++ b/stream/tvi_v4l2.c Sun Jan 13 12:01:57 2008 +0000 @@ -49,7 +49,7 @@ #define info tvi_info_v4l2 static tvi_handle_t *tvi_init_v4l2(tv_param_t* tv_param); /* information about this file */ -tvi_info_t tvi_info_v4l2 = { +const tvi_info_t tvi_info_v4l2 = { tvi_init_v4l2, "Video 4 Linux 2 input", "v4l2",