From f6527cc4f7625eb5283eee5392312ad5df70e0f3 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 3 May 2014 23:56:50 +0200 Subject: Move srd_check_init() to decoder.c and make it static. The function srd_check_init() is only used in decoder.c. --- srd.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'srd.c') diff --git a/srd.c b/srd.c index 9d04a8e..61280ef 100644 --- 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; -} - /** @} */ -- cgit v1.2.3-70-g09d2