summaryrefslogtreecommitdiff
path: root/decoder.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-03-16 15:12:54 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-03-18 14:34:23 +0100
commitabeeed8b6da45e1854bc151a8175836b5ca38e34 (patch)
tree5d37d096e080ea9cd78fc836ea0baebfced56542 /decoder.c
parent361fdcaafec8ddd37f0d381204e4c2a22c56b238 (diff)
downloadlibsigrokdecode-abeeed8b6da45e1854bc151a8175836b5ca38e34.tar.gz
libsigrokdecode-abeeed8b6da45e1854bc151a8175836b5ca38e34.zip
srd: Constify lots more parameters.
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 4d886c7..f620c1e 100644
--- a/decoder.c
+++ b/decoder.c
@@ -290,9 +290,9 @@ err_out:
* @param dec The loaded protocol decoder.
*
* @return A newly allocated buffer containing the protocol decoder's
- * documentation. The caller is responsible for free'ing this after use.
+ * documentation. The caller is responsible for free'ing the buffer.
*/
-SRD_API char *srd_decoder_doc(struct srd_decoder *dec)
+SRD_API char *srd_decoder_doc(const struct srd_decoder *dec)
{
PyObject *py_str;
char *doc;