comparison stream/stream_vstream.c @ 25242:371a40dcc1cc

stream_opts arrays should be const
author reimar
date Sun, 02 Dec 2007 21:37:08 +0000
parents c1d17bd6683c
children 68015115f63a
comparison
equal deleted inserted replaced
25241:bb7c65f2a289 25242:371a40dcc1cc
70 NULL 70 NULL
71 }; 71 };
72 72
73 #define ST_OFF(f) M_ST_OFF(struct stream_priv_s,f) 73 #define ST_OFF(f) M_ST_OFF(struct stream_priv_s,f)
74 /// URL definition 74 /// URL definition
75 static m_option_t stream_opts_fields[] = { 75 static const m_option_t stream_opts_fields[] = {
76 {"hostname", ST_OFF(host), CONF_TYPE_STRING, 0, 0 ,0, NULL}, 76 {"hostname", ST_OFF(host), CONF_TYPE_STRING, 0, 0 ,0, NULL},
77 {"filename", ST_OFF(fsid), CONF_TYPE_STRING, 0, 0 ,0, NULL}, 77 {"filename", ST_OFF(fsid), CONF_TYPE_STRING, 0, 0 ,0, NULL},
78 { NULL, NULL, 0, 0, 0, 0, NULL } 78 { NULL, NULL, 0, 0, 0, 0, NULL }
79 }; 79 };
80 80