From 1730f202dd6904f713dd40d6b0b794aee6c82efa Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 31 May 2007 13:32:23 +0000 Subject: [PATCH] declaration after code. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5235 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_core_session.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/switch_core_session.c b/src/switch_core_session.c index 7dec0c4280..8a77f85344 100644 --- a/src/switch_core_session.c +++ b/src/switch_core_session.c @@ -718,11 +718,12 @@ static void *SWITCH_THREAD_FUNC switch_core_session_thread(switch_thread_t * thr SWITCH_DECLARE(switch_status_t) switch_core_session_thread_launch(switch_core_session_t *session) { + switch_status_t status = SWITCH_STATUS_FALSE; switch_thread_t *thread; switch_threadattr_t *thd_attr;; + switch_threadattr_create(&thd_attr, session->pool); switch_threadattr_detach_set(thd_attr, 1); - switch_status_t status = SWITCH_STATUS_FALSE; switch_mutex_lock(session->mutex);