X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=srd.c;h=61280ef41d7f4f838472aa2f9ff98ec672305520;hb=af9527d1776668699a4c1244a419902af47f8493;hp=b74b780ebf75e70397bd2c50efc03d2c98c14e7e;hpb=e9c1a90c311a65e5b1576a63078d854771a9c83b;p=libsigrokdecode.git diff --git a/srd.c b/srd.c index b74b780..61280ef 100644 --- a/srd.c +++ b/srd.c @@ -32,9 +32,6 @@ SRD_PRIV GSList *searchpaths = NULL; extern GSList *sessions; extern int max_session_id; -/* decoder.c */ -extern SRD_PRIV GSList *pd_list; - /** @endcond */ /** @@ -264,14 +261,4 @@ SRD_PRIV int srd_decoder_searchpath_add(const char *path) return SRD_OK; } -/** @private */ -SRD_PRIV gboolean srd_check_init(void) -{ - if (max_session_id < 0) { - srd_err("Library is not initialized."); - return FALSE; - } else - return TRUE; -} - /** @} */