From e195c025c303e361d0cc5a207f9c9443fb8deced Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Mon, 18 Nov 2013 01:21:16 +0100 Subject: Check library initialization before handling decoders --- libsigrokdecode-internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libsigrokdecode-internal.h') diff --git a/libsigrokdecode-internal.h b/libsigrokdecode-internal.h index 8fd9e52..aa626ca 100644 --- a/libsigrokdecode-internal.h +++ b/libsigrokdecode-internal.h @@ -37,6 +37,7 @@ struct srd_session { /* srd.c */ SRD_PRIV int srd_decoder_searchpath_add(const char *path); +SRD_PRIV gboolean srd_check_init(void); /* session.c */ SRD_PRIV int session_is_valid(struct srd_session *sess); -- cgit v1.2.3-70-g09d2