X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=sigrokdecode.h.in;h=470332f322acba9c057185370528979ae4c45801;hp=6b05b64db622fc2f61ccba9b1bf5b7be3ac74c62;hb=de5a05f120d6d7f1e20265e9e264ac859c9c5020;hpb=42515b0f25613499167b66c1d8a659526fb46b8d diff --git a/sigrokdecode.h.in b/sigrokdecode.h.in index 6b05b64..470332f 100644 --- a/sigrokdecode.h.in +++ b/sigrokdecode.h.in @@ -99,7 +99,7 @@ extern "C" { * Use SRD_API to mark public API symbols, and SRD_PRIV for private symbols. * * Variables and functions marked 'static' are private already and don't - * need SR_PRIV. However, functions which are not static (because they need + * need SRD_PRIV. However, functions which are not static (because they need * to be used in other libsigrokdecode-internal files) but are also not * meant to be part of the public libsigrokdecode API, must use SRD_PRIV. * @@ -268,7 +268,7 @@ SRD_API int srd_pd_output_callback_add(int output_type, /*--- decoder.c -------------------------------------------------------------*/ -SRD_API const GSList *srd_decoder_list(void); +SRD_API 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);