changeset 25684:c6c7a09bf439

tvi_functions_t should be const
author reimar
date Sun, 13 Jan 2008 11:48:56 +0000
parents 17081f6f4bd6
children 9eb89c2ce096
files stream/tv.h stream/tvi_def.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stream/tv.h	Sun Jan 13 11:42:33 2008 +0000
+++ b/stream/tv.h	Sun Jan 13 11:48:56 2008 +0000
@@ -102,7 +102,7 @@
 } tvi_functions_t;
 
 typedef struct tvi_handle_s {
-    tvi_functions_t	*functions;
+    const tvi_functions_t	*functions;
     void		*priv;
     int 		seq;
 
--- a/stream/tvi_def.h	Sun Jan 13 11:42:33 2008 +0000
+++ b/stream/tvi_def.h	Sun Jan 13 11:48:56 2008 +0000
@@ -12,7 +12,7 @@
 
 int teletext_control(void* p, int cmd, void *arg);
 
-static tvi_functions_t functions =
+static const tvi_functions_t functions =
 {
     init,
     uninit,