From 9b37109da365335c1b6da14f073513c7855872d8 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Tue, 14 Feb 2012 03:28:53 +0100 Subject: srd: don't load all protocol decoders unless we really need to. --- sigrokdecode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sigrokdecode.h') diff --git a/sigrokdecode.h b/sigrokdecode.h index c1fbb0d..4e65ed2 100644 --- a/sigrokdecode.h +++ b/sigrokdecode.h @@ -222,7 +222,7 @@ SRD_API int srd_register_callback(int output_type, SRD_API GSList *srd_list_decoders(void); SRD_API struct srd_decoder *srd_get_decoder_by_id(const char *id); -SRD_API int srd_load_decoder(const char *name, struct srd_decoder **dec); +SRD_API int srd_load_decoder(const char *name); SRD_API int srd_unload_decoder(struct srd_decoder *dec); SRD_API int srd_load_all_decoders(void); SRD_API int srd_unload_all_decoders(void); -- cgit v1.2.3-70-g09d2