This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: libdvbv5: constify more parameters and fields
Author:  Gregor Jasny <[email protected]>
Date:    Sun Jun 24 18:02:15 2012 +0200

Signed-off-by: Gregor Jasny <[email protected]>

 lib/include/dvb-demux.h  |    2 +-
 lib/include/dvb-fe.h     |    2 +-
 lib/include/dvb-sat.h    |    4 ++--
 lib/libdvbv5/dvb-demux.c |    4 ++--
 lib/libdvbv5/dvb-fe.c    |    2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=56451bbdb1b7142367c2f304a544f89f705f378f

diff --git a/lib/include/dvb-demux.h b/lib/include/dvb-demux.h
index ff85bfb..ec50d6b 100644
--- a/lib/include/dvb-demux.h
+++ b/lib/include/dvb-demux.h
@@ -31,6 +31,6 @@
 
 int set_pesfilter(int dmxfd, int pid, int pes_type, int dvr);
 
-int get_pmt_pid(char *dmxdev, int sid);
+int get_pmt_pid(const char *dmxdev, int sid);
 
 #endif
diff --git a/lib/include/dvb-fe.h b/lib/include/dvb-fe.h
index 748f416..939260f 100644
--- a/lib/include/dvb-fe.h
+++ b/lib/include/dvb-fe.h
@@ -119,7 +119,7 @@ void dvb_fe_close(struct dvb_v5_fe_parms *parms);
 
 /* Get/set delivery system parameters */
 
-int dvb_fe_retrieve_parm(struct dvb_v5_fe_parms *parms,
+int dvb_fe_retrieve_parm(const struct dvb_v5_fe_parms *parms,
                        unsigned cmd, uint32_t *value);
 int dvb_fe_store_parm(struct dvb_v5_fe_parms *parms,
                      unsigned cmd, uint32_t value);
diff --git a/lib/include/dvb-sat.h b/lib/include/dvb-sat.h
index 57e5511..23df228 100644
--- a/lib/include/dvb-sat.h
+++ b/lib/include/dvb-sat.h
@@ -26,8 +26,8 @@ struct dvbsat_freqrange {
 };
 
 struct dvb_sat_lnb {
-       char *name;
-       char *alias;
+       const char *name;
+       const char *alias;
        unsigned lowfreq, highfreq;
 
        unsigned rangeswitch;
diff --git a/lib/libdvbv5/dvb-demux.c b/lib/libdvbv5/dvb-demux.c
index 6ff9d20..f7157d7 100644
--- a/lib/libdvbv5/dvb-demux.c
+++ b/lib/libdvbv5/dvb-demux.c
@@ -36,7 +36,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-
+    
 #include <linux/dvb/dmx.h>
 #include "dvb-demux.h"
 
@@ -71,7 +71,7 @@ int set_pesfilter(int dmxfd, int pid, int pes_type, int dvr)
        return 0;
 }
 
-int get_pmt_pid(char *dmxdev, int sid)
+int get_pmt_pid(const char *dmxdev, int sid)
 {
        int patfd, count;
        int pmt_pid = 0;
diff --git a/lib/libdvbv5/dvb-fe.c b/lib/libdvbv5/dvb-fe.c
index 68eb7c1..a32454e 100644
--- a/lib/libdvbv5/dvb-fe.c
+++ b/lib/libdvbv5/dvb-fe.c
@@ -486,7 +486,7 @@ void dvb_fe_prt_parms(FILE *fp, const struct 
dvb_v5_fe_parms *parms)
        }
 };
 
-int dvb_fe_retrieve_parm(struct dvb_v5_fe_parms *parms,
+int dvb_fe_retrieve_parm(const struct dvb_v5_fe_parms *parms,
                                unsigned cmd, uint32_t *value)
 {
        int i;

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to