]> sigrok.org Git - libsigrok.git/blobdiff - src/output/output.c
output: Constify module options.
[libsigrok.git] / src / output / output.c
index 0dd1fe27f7e1cf6bf19f5674cae2546526a82906..a96fab2b52c6fb03d13f2761c0962dcc8c352e82 100644 (file)
@@ -225,7 +225,7 @@ SR_API const struct sr_output *sr_output_new(const struct sr_output_module *o,
                GHashTable *options, const struct sr_dev_inst *sdi)
 {
        struct sr_output *op;
-       struct sr_option *mod_opts;
+       const struct sr_option *mod_opts;
        const GVariantType *gvt;
        GHashTable *new_opts;
        GHashTableIter iter;