summaryrefslogtreecommitdiff
path: root/decoder.c
diff options
context:
space:
mode:
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;