]> sigrok.org Git - libsigrok.git/blobdiff - src/output/ascii.c
output: Constify module options.
[libsigrok.git] / src / output / ascii.c
index 562d02551b4aff4a7ea5ac965fb380e243c77cd9..9f69d0076040ba7269745984c1bf5e6caed6322e 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);