X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Finput%2Fvcd.c;h=6089ac8434a1369d3a8302ee81998f3accef980f;hb=2c24077466a299ead689c90f01f55f6d86c7386b;hp=e69a80715676152df8d37a4a8acc644978d503d4;hpb=5e23fcab889c62864b92aa3ad6902ce3e9f5be49;p=libsigrok.git diff --git a/src/input/vcd.c b/src/input/vcd.c index e69a8071..6089ac84 100644 --- a/src/input/vcd.c +++ b/src/input/vcd.c @@ -57,11 +57,12 @@ * - more than 64 channels */ +#include #include #include #include #include -#include "libsigrok.h" +#include #include "libsigrok-internal.h" #define LOG_PREFIX "input/vcd" @@ -87,7 +88,6 @@ struct vcd_channel { gchar *identifier; }; - /* * Reads a single VCD section from input file and parses it to name/contents. * e.g. $timescale 1ps $end => "timescale" "1ps" @@ -551,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));