]> sigrok.org Git - libsigrok.git/blobdiff - src/output/bits.c
Mention the Building#FAQ wiki page for common issues.
[libsigrok.git] / src / output / bits.c
index 728ff2ffb3140c608f85e11492ed28a5f736eb6d..0a9ccc1a41d6f241fa003f9ea6ed5d07b198ac0a 100644 (file)
@@ -221,10 +221,10 @@ static int cleanup(struct sr_output *o)
 
 static struct sr_option options[] = {
        { "width", "Width", "Number of samples per line", NULL, NULL },
-       { 0 }
+       ALL_ZERO
 };
 
-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);