summaryrefslogtreecommitdiff
path: root/sigrokdecode.h.in
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2013-01-01 13:04:16 +0100
committerBert Vermeulen <bert@biot.com>2013-01-01 13:04:16 +0100
commit42515b0f25613499167b66c1d8a659526fb46b8d (patch)
tree4c73a161b6863bf24f2468e4915ffde2a2702c4e /sigrokdecode.h.in
parentc78eeef14ff4c23d021adf7c439ea173a651db7e (diff)
downloadlibsigrokdecode-42515b0f25613499167b66c1d8a659526fb46b8d.tar.gz
libsigrokdecode-42515b0f25613499167b66c1d8a659526fb46b8d.zip
constify srd_decoder_list() output
Diffstat (limited to 'sigrokdecode.h.in')
-rw-r--r--sigrokdecode.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sigrokdecode.h.in b/sigrokdecode.h.in
index ad7b602..6b05b64 100644
--- a/sigrokdecode.h.in
+++ b/sigrokdecode.h.in
@@ -268,7 +268,7 @@ SRD_API int srd_pd_output_callback_add(int output_type,
/*--- decoder.c -------------------------------------------------------------*/
-SRD_API GSList *srd_decoder_list(void);
+SRD_API const GSList *srd_decoder_list(void);
SRD_API struct srd_decoder *srd_decoder_get_by_id(const char *id);
SRD_API int srd_decoder_load(const char *name);
SRD_API int srd_decoder_unload(struct srd_decoder *dec);