changeset 25691:68015115f63a

stream_opts should be const
author reimar
date Sun, 13 Jan 2008 12:34:42 +0000
parents 7b66e1a132de
children 39709e0bdbf4
files stream/stream_cdda.c stream/stream_cue.c stream/stream_dvb.c stream/stream_dvd.c stream/stream_dvdnav.c stream/stream_file.c stream/stream_ftp.c stream/stream_netstream.c stream/stream_radio.c stream/stream_smb.c stream/stream_tv.c stream/stream_vcd.c stream/stream_vstream.c
diffstat 13 files changed, 13 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_cdda.c	Sun Jan 13 12:09:29 2008 +0000
+++ b/stream/stream_cdda.c	Sun Jan 13 12:34:42 2008 +0000
@@ -65,7 +65,7 @@
   { "filename", ST_OFF(device), CONF_TYPE_STRING, 0, 0, 0, NULL },
   {NULL, NULL, 0, 0, 0, 0, NULL}
 };
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
   "cdda",
   sizeof(struct cdda_params),
   &cdda_dflts,
--- a/stream/stream_cue.c	Sun Jan 13 12:09:29 2008 +0000
+++ b/stream/stream_cue.c	Sun Jan 13 12:34:42 2008 +0000
@@ -47,7 +47,7 @@
   { "string", ST_OFF(filename), CONF_TYPE_STRING, 0, 0 ,0, NULL},
   { NULL, NULL, 0, 0, 0, 0,  NULL }
 };
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
   "cue",
   sizeof(struct stream_priv_s),
   &stream_priv_dflts,
--- a/stream/stream_dvb.c	Sun Jan 13 12:09:29 2008 +0000
+++ b/stream/stream_dvb.c	Sun Jan 13 12:34:42 2008 +0000
@@ -89,7 +89,7 @@
 	{NULL, NULL, 0, 0, 0, 0, NULL}
 };
 
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
 	"dvbin",
 	sizeof(struct stream_priv_s),
 	&stream_defaults,
--- a/stream/stream_dvd.c	Sun Jan 13 12:09:29 2008 +0000
+++ b/stream/stream_dvd.c	Sun Jan 13 12:34:42 2008 +0000
@@ -149,7 +149,7 @@
   { "hostname", ST_OFF(title), CONF_TYPE_INT, M_OPT_MIN, 1, 0, NULL },
   { NULL, NULL, 0, 0, 0, 0,  NULL }
 };
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
   "dvd",
   sizeof(struct stream_priv_s),
   &stream_priv_dflts,
--- a/stream/stream_dvdnav.c	Sun Jan 13 12:09:29 2008 +0000
+++ b/stream/stream_dvdnav.c	Sun Jan 13 12:34:42 2008 +0000
@@ -51,7 +51,7 @@
   {"hostname", 	ST_OFF(track), CONF_TYPE_INT, 0, 0, 0, NULL},
   { NULL, NULL, 0, 0, 0, 0,  NULL }
 };
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
   "dvd",
   sizeof(struct stream_priv_s),
   &stream_priv_dflts,
--- a/stream/stream_file.c	Sun Jan 13 12:09:29 2008 +0000
+++ b/stream/stream_file.c	Sun Jan 13 12:34:42 2008 +0000
@@ -27,7 +27,7 @@
   {"filename", ST_OFF(filename2), CONF_TYPE_STRING, 0, 0 ,0, NULL},
   { NULL, NULL, 0, 0, 0, 0,  NULL }
 };
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
   "file",
   sizeof(struct stream_priv_s),
   &stream_priv_dflts,
--- a/stream/stream_ftp.c	Sun Jan 13 12:09:29 2008 +0000
+++ b/stream/stream_ftp.c	Sun Jan 13 12:34:42 2008 +0000
@@ -59,7 +59,7 @@
   {"filename", ST_OFF(filename), CONF_TYPE_STRING, 0, 0 ,0, NULL},
   { NULL, NULL, 0, 0, 0, 0,  NULL }
 };
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
   "ftp",
   sizeof(struct stream_priv_s),
   &stream_priv_dflts,
--- a/stream/stream_netstream.c	Sun Jan 13 12:09:29 2008 +0000
+++ b/stream/stream_netstream.c	Sun Jan 13 12:34:42 2008 +0000
@@ -82,7 +82,7 @@
   {"filename", ST_OFF(url), CONF_TYPE_STRING, 0, 0 ,0, NULL},
   { NULL, NULL, 0, 0, 0, 0,  NULL }
 };
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
   "netstream",
   sizeof(struct stream_priv_s),
   &stream_priv_dflts,
--- a/stream/stream_radio.c	Sun Jan 13 12:09:29 2008 +0000
+++ b/stream/stream_radio.c	Sun Jan 13 12:34:42 2008 +0000
@@ -147,7 +147,7 @@
     { NULL, NULL, 0, 0, 0, 0,  NULL }
 };
 
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
     "radio",
     sizeof(radio_param_t),
     &stream_radio_defaults,
--- a/stream/stream_smb.c	Sun Jan 13 12:09:29 2008 +0000
+++ b/stream/stream_smb.c	Sun Jan 13 12:34:42 2008 +0000
@@ -20,7 +20,7 @@
   { NULL, NULL, 0, 0, 0, 0,  NULL }
 };
 
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
   "smb",
   sizeof(struct stream_priv_s),
   &stream_priv_dflts,
--- a/stream/stream_tv.c	Sun Jan 13 12:09:29 2008 +0000
+++ b/stream/stream_tv.c	Sun Jan 13 12:34:42 2008 +0000
@@ -87,7 +87,7 @@
     { NULL, NULL, 0, 0, 0, 0,  NULL }
 };
 
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
     "tv",
     sizeof(tv_param_t),
     &stream_tv_defaults,
--- a/stream/stream_vcd.c	Sun Jan 13 12:09:29 2008 +0000
+++ b/stream/stream_vcd.c	Sun Jan 13 12:34:42 2008 +0000
@@ -51,7 +51,7 @@
   { "filename", ST_OFF(device), CONF_TYPE_STRING, 0, 0 ,0, NULL},
   { NULL, NULL, 0, 0, 0, 0,  NULL }
 };
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
   "vcd",
   sizeof(struct stream_priv_s),
   &stream_priv_dflts,
--- a/stream/stream_vstream.c	Sun Jan 13 12:09:29 2008 +0000
+++ b/stream/stream_vstream.c	Sun Jan 13 12:34:42 2008 +0000
@@ -78,7 +78,7 @@
   { NULL, NULL, 0, 0, 0, 0,  NULL }
 };
 
-static struct m_struct_st stream_opts = {
+static const struct m_struct_st stream_opts = {
   "vstream",
   sizeof(struct stream_priv_s),
   &stream_priv_dflts,