diff options
author | Bert Vermeulen <bert@biot.com> | 2012-02-01 00:07:55 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2012-02-01 00:07:55 +0100 |
commit | dcdf48838748df02bc3028c4a26ea6d4506ee542 (patch) | |
tree | 6de26fccf39ac3834b8d28516463f9020aa622f8 /decoder.c | |
parent | fa12a21e3c779df4e33dcfe394e2ded3f96028ce (diff) | |
download | libsigrokdecode-dcdf48838748df02bc3028c4a26ea6d4506ee542.tar.gz libsigrokdecode-dcdf48838748df02bc3028c4a26ea6d4506ee542.zip |
srd: rename extra_probes to optional_probes
Diffstat (limited to 'decoder.c')
-rw-r--r-- | decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |