]> sigrok.org Git - libsigrok.git/blobdiff - src/output/hex.c
output: Constify module options.
[libsigrok.git] / src / output / hex.c
index 1d4196381d3a706440eb1b52c468c6c20d6e4703..6c0e15d5c51fb6ec5f29daaff2a8dc04ae9021df 100644 (file)
@@ -238,7 +238,7 @@ static struct sr_option options[] = {
        { 0 }
 };
 
-static struct sr_option *get_options(void)
+static const struct sr_option *get_options(void)
 {
        if (!options[0].def) {
                options[0].def = g_variant_new_uint32(DEFAULT_SAMPLES_PER_LINE);