]> sigrok.org Git - libsigrok.git/blobdiff - src/hwdriver.c
Constify a lot more items.
[libsigrok.git] / src / hwdriver.c
index c5d4bf29b02ded8aa387f8266ef129ef400fb9ab..b15fc28fc9d3f0083099f0e201e7a50c51e3ae83 100644 (file)
@@ -569,7 +569,8 @@ static int check_key(const struct sr_dev_driver *driver,
        GVariant *gvar_opts;
        const uint32_t *opts;
        uint32_t pub_opt;
-       char *suffix, *opstr;
+       const char *suffix;
+       const char *opstr;
 
        if (sdi && cg)
                suffix = " for this device and channel group";