From: Uwe Hermann Date: Tue, 29 May 2012 20:35:38 +0000 (+0200) Subject: cli: Fix compile error. X-Git-Tag: sigrok-cli-0.3.1~4 X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=commitdiff_plain;h=478a782d1c7aa2da82e144671dc9feb89729b333;hp=b6bd032dde74eda6423f13b40e75b9125ad4ce5e cli: Fix compile error. --- diff --git a/sigrok-cli.c b/sigrok-cli.c index 03bfbda..aaf0c36 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -615,7 +615,7 @@ int setup_pd_stack(void) * the stack will be left on the annotation list (unless * the annotation list was specifically provided). */ - if (!opt_pd_annotation) + if (!opt_pd_annotations) g_hash_table_remove(pd_ann_visible, di_from->inst_id); @@ -717,7 +717,7 @@ int setup_output_format(void) return 0; } -void show_pd_annotation(struct srd_proto_data *pdata, void *cb_data) +void show_pd_annotations(struct srd_proto_data *pdata, void *cb_data) { int i; char **annotations;