changeset 25689:7d5823bd4517

Make all tvi_info_t const
author reimar
date Sun, 13 Jan 2008 12:01:57 +0000
parents cd4af70b12ef
children 7b66e1a132de
files stream/tv.c stream/tvi_bsdbt848.c stream/tvi_dshow.c stream/tvi_dummy.c stream/tvi_v4l.c stream/tvi_v4l2.c
diffstat 6 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- 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[]={
--- 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",
--- 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",
--- 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",
--- 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",
--- 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",