X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Foutput%2Fvcd.c;h=9d3516b74b30d8d22e9274f7251c1f9525a61af4;hb=8a174d23427735617d69c7502ed8dcade786bbf9;hp=9d5ca8807a41bf5668fb33a3bb5b92e420d5c496;hpb=d686c5ec462a4044e049931e57d60e9d08df8cde;p=libsigrok.git diff --git a/src/output/vcd.c b/src/output/vcd.c index 9d5ca880..9d3516b7 100644 --- a/src/output/vcd.c +++ b/src/output/vcd.c @@ -39,9 +39,6 @@ struct context { uint64_t samplecount; }; -static const char *const vcd_header_comment = - "$comment\n Acquisition with %d/%d channels at %s\n$end\n"; - static int init(struct sr_output *o, GHashTable *options) { struct context *ctx; @@ -266,6 +263,7 @@ struct sr_output_module output_vcd = { .id = "vcd", .name = "VCD", .desc = "Value Change Dump", + .exts = (const char*[]){"vcd", NULL}, .options = NULL, .init = init, .receive = receive,