]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/sysclk-sla5032/api.c
output/csv: use intermediate time_t var, silence compiler warning
[libsigrok.git] / src / hardware / sysclk-sla5032 / api.c
index 0eb6a732068b399951440be690fb9689a12a5d8f..a55c9ed199b30985ccdeb7213bf453b6d8497a53 100644 (file)
@@ -369,15 +369,15 @@ static int config_channel_set(const struct sr_dev_inst *sdi,
 }
 
 /* Derive trigger masks from the session's trigger configuration. */
-static int prepare_trigger_masks(const struct sr_dev_instsdi)
+static int prepare_trigger_masks(const struct sr_dev_inst *sdi)
 {
        uint32_t trigger_mask, trigger_values, trigger_edge_mask;
        uint32_t level_bit, type_bit;
-       struct dev_contextdevc;
-       struct sr_triggertrigger;
-       struct sr_trigger_stagestage;
-       struct sr_trigger_matchmatch;
-       const GSListnode;
+       struct dev_context *devc;
+       struct sr_trigger *trigger;
+       struct sr_trigger_stage *stage;
+       struct sr_trigger_match *match;
+       const GSList *node;
        int idx;
        enum sr_trigger_matches trg;