summaryrefslogtreecommitdiff
path: root/decoder.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-03-21 19:28:43 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-03-21 23:20:09 +0100
commit5a2c4dc462310a8a031abda7e6cbb0532873ec55 (patch)
tree45f83f5fba35bf0643ff021252b1179baa2dc7a1 /decoder.c
parentabf77a8df245c31a8beb80be094972c4d188adab (diff)
downloadlibsigrokdecode-5a2c4dc462310a8a031abda7e6cbb0532873ec55.tar.gz
libsigrokdecode-5a2c4dc462310a8a031abda7e6cbb0532873ec55.zip
sr/srd: Small fixes, constifications, doc updates.
Diffstat (limited to 'decoder.c')
-rw-r--r--decoder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/decoder.c b/decoder.c
index d7780d5..0aa1c5f 100644
--- a/decoder.c
+++ b/decoder.c
@@ -62,7 +62,8 @@ SRD_API struct srd_decoder *srd_decoder_get_by_id(const char *id)
return NULL;
}
-static int get_probes(struct srd_decoder *d, char *attr, GSList **pl)
+static int get_probes(const struct srd_decoder *d, const char *attr,
+ GSList **pl)
{
PyObject *py_probelist, *py_entry;
struct srd_probe *p;