summaryrefslogtreecommitdiff
path: root/decoder.c
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2012-02-01 00:07:55 +0100
committerBert Vermeulen <bert@biot.com>2012-02-01 00:07:55 +0100
commitdcdf48838748df02bc3028c4a26ea6d4506ee542 (patch)
tree6de26fccf39ac3834b8d28516463f9020aa622f8 /decoder.c
parentfa12a21e3c779df4e33dcfe394e2ded3f96028ce (diff)
downloadlibsigrokdecode-dcdf48838748df02bc3028c4a26ea6d4506ee542.tar.gz
libsigrokdecode-dcdf48838748df02bc3028c4a26ea6d4506ee542.zip
srd: rename extra_probes to optional_probes
Diffstat (limited to 'decoder.c')
-rw-r--r--decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoder.c b/decoder.c
index 83735a7..6f4a88d 100644
--- a/decoder.c
+++ b/decoder.c
@@ -220,7 +220,7 @@ int srd_load_decoder(const char *name, struct srd_decoder **dec)
goto err_out;
/* Check and import optional probes. */
- if (get_probes(d, "extra_probes", &d->extra_probes) != SRD_OK)
+ if (get_probes(d, "optional_probes", &d->opt_probes) != SRD_OK)
goto err_out;
/* Store required fields in newly allocated strings. */
@@ -342,7 +342,7 @@ int srd_unload_decoder(struct srd_decoder *dec)
srd_instance_free_all(NULL);
free_probes(dec->probes);
- free_probes(dec->extra_probes);
+ free_probes(dec->opt_probes);
g_free(dec->id);
g_free(dec->name);
g_free(dec->longname);