]> sigrok.org Git - libsigrok.git/blobdiff - output/vcd.c
vcd output: Build fix for Windows/MinGW.
[libsigrok.git] / output / vcd.c
index e1661e5c08cfc7367eecfd63315638f4f9fe9d32..98159e9f59a84fd3bf32a69910be1b9a18eba14f 100644 (file)
@@ -144,7 +144,7 @@ static int init(struct sr_output *o)
        return SR_OK;
 }
 
-static GString *recv(struct sr_output *o, const struct sr_dev_inst *sdi,
+static GString *receive(struct sr_output *o, const struct sr_dev_inst *sdi,
                const struct sr_datafeed_packet *packet)
 {
        const struct sr_datafeed_logic *logic;
@@ -229,6 +229,6 @@ struct sr_output_format output_vcd = {
        .description = "Value Change Dump (VCD)",
        .df_type = SR_DF_LOGIC,
        .init = init,
-       .recv = recv,
-       .cleanup = cleanup
+       .recv = receive,
+       .cleanup = cleanup,
 };