]> sigrok.org Git - libsigrokdecode.git/blobdiff - srd.c
Move srd_check_init() to decoder.c and make it static.
[libsigrokdecode.git] / srd.c
diff --git a/srd.c b/srd.c
index 9d04a8e1d110307a221420d40a533f16ae7f83d7..61280ef41d7f4f838472aa2f9ff98ec672305520 100644 (file)
--- a/srd.c
+++ b/srd.c
@@ -261,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;
-}
-
 /** @} */