X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Finput%2Fcsv.c;h=7b884674730e044e925cabb7bc0263c15df2cb40;hb=2c24077466a299ead689c90f01f55f6d86c7386b;hp=cc451bacdab05382b5a38f9074e56f77c8d4ef00;hpb=45ec8f775680124d49e82251f258104cf4414f17;p=libsigrok.git diff --git a/src/input/csv.c b/src/input/csv.c index cc451bac..7b884674 100644 --- a/src/input/csv.c +++ b/src/input/csv.c @@ -784,7 +784,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(0));