]> sigrok.org Git - libsigrok.git/blobdiff - src/output/bits.c
output: Constify module options.
[libsigrok.git] / src / output / bits.c
index 728ff2ffb3140c608f85e11492ed28a5f736eb6d..6b33f8d6534ec7dc23d6185c4d179b3d6e6c8a07 100644 (file)
@@ -224,7 +224,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);