]> sigrok.org Git - libsigrok.git/blobdiff - src/input/vcd.c
Constify a lot more items.
[libsigrok.git] / src / input / vcd.c
index 0ca7705a08bd6afb441c7f51848aee0968105972..6089ac8434a1369d3a8302ee81998f3accef980f 100644 (file)
@@ -57,6 +57,7 @@
  * - more than 64 channels
  */
 
+#include <config.h>
 #include <stdlib.h>
 #include <glib.h>
 #include <stdio.h>
@@ -550,7 +551,7 @@ static struct sr_option options[] = {
        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_ref_sink(g_variant_new_int32(DEFAULT_NUM_CHANNELS));