projects
/
sigrok-cli.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
76ae913
)
srd/cli/qt:s/decoders/decoder/ for consistency.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Fri, 16 Mar 2012 14:25:53 +0000
(15:25 +0100)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Sun, 18 Mar 2012 13:34:23 +0000
(14:34 +0100)
sigrok-cli.c
patch
|
blob
|
history
diff --git
a/sigrok-cli.c
b/sigrok-cli.c
index fc993b48a76b8d20dd02b3c33c75ce6a321c0c74..a2db18f9b1703eaffb52fafc7410b8839d5eb47f 100644
(file)
--- a/
sigrok-cli.c
+++ b/
sigrok-cli.c
@@
-115,8
+115,8
@@
static void show_version(void)
if (srd_init(NULL) == SRD_OK) {
printf("Supported protocol decoders:\n");
if (srd_init(NULL) == SRD_OK) {
printf("Supported protocol decoders:\n");
- srd_decoder
s
_load_all();
- for (l = srd_decoder
s
_list(); l; l = l->next) {
+ srd_decoder_load_all();
+ for (l = srd_decoder_list(); l; l = l->next) {
dec = l->data;
printf(" %-20s %s\n", dec->id, dec->longname);
}
dec = l->data;
printf(" %-20s %s\n", dec->id, dec->longname);
}