]> sigrok.org Git - libsigrokdecode.git/blobdiff - srd.c
Makefile.am: Add HACKING to the tarball.
[libsigrokdecode.git] / srd.c
diff --git a/srd.c b/srd.c
index 9d04a8e1d110307a221420d40a533f16ae7f83d7..599d190081621357222d815ccf8397ac7c33e9e2 100644 (file)
--- a/srd.c
+++ b/srd.c
@@ -29,8 +29,8 @@
 SRD_PRIV GSList *searchpaths = NULL;
 
 /* session.c */
-extern GSList *sessions;
-extern int max_session_id;
+extern SRD_PRIV GSList *sessions;
+extern SRD_PRIV int max_session_id;
 
 /** @endcond */
 
@@ -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;
-}
-
 /** @} */