diff stream/stream_vcd.c @ 25242:371a40dcc1cc

stream_opts arrays should be const
author reimar
date Sun, 02 Dec 2007 21:37:08 +0000
parents c1d17bd6683c
children 23f02d6ac901
line wrap: on
line diff
--- a/stream/stream_vcd.c	Sun Dec 02 21:26:23 2007 +0000
+++ b/stream/stream_vcd.c	Sun Dec 02 21:37:08 2007 +0000
@@ -43,7 +43,7 @@
 
 #define ST_OFF(f) M_ST_OFF(struct stream_priv_s,f)
 /// URL definition
-static m_option_t stream_opts_fields[] = {
+static const m_option_t stream_opts_fields[] = {
   { "track", ST_OFF(track), CONF_TYPE_INT, M_OPT_MIN, 1, 0, NULL },
   { "device", ST_OFF(device), CONF_TYPE_STRING, 0, 0 ,0, NULL},
   /// For url parsing