From abeeed8b6da45e1854bc151a8175836b5ca38e34 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 16 Mar 2012 15:12:54 +0100 Subject: srd: Constify lots more parameters. --- decoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decoder.c') 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; -- cgit v1.2.3-70-g09d2