From a0fb5045a86451f1cfee887fa27806c5560b7fe3 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 4 Mar 2009 20:40:06 +0000 Subject: [PATCH] Wed Mar 4 12:31:26 CST 2009 Pekka Pessi * s2base: removed s2_setup_logs() Ignore-this: ea4848902b3be9c966b4f7e114f2a5b6 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12421 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/sofia-sip/.update | 2 +- libs/sofia-sip/s2check/s2base.c | 20 -------------------- libs/sofia-sip/s2check/s2base.h | 2 -- 3 files changed, 1 insertion(+), 23 deletions(-) diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index 929e2b1b03..1f8d9e606d 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Wed Mar 4 14:38:54 CST 2009 +Wed Mar 4 14:39:41 CST 2009 diff --git a/libs/sofia-sip/s2check/s2base.c b/libs/sofia-sip/s2check/s2base.c index 42822b2926..df77763dcd 100644 --- a/libs/sofia-sip/s2check/s2base.c +++ b/libs/sofia-sip/s2check/s2base.c @@ -135,26 +135,6 @@ void s2_case(char const *number, printf("%s - starting %s/%s-%s\n", s2_tester, _s2_suite, _s2_case, title); } -SOFIAPUBVAR su_log_t nua_log[]; -SOFIAPUBVAR su_log_t soa_log[]; -SOFIAPUBVAR su_log_t nea_log[]; -SOFIAPUBVAR su_log_t nta_log[]; -SOFIAPUBVAR su_log_t tport_log[]; -SOFIAPUBVAR su_log_t su_log_default[]; - -void -s2_setup_logs(int level) -{ - assert(s2base); - - su_log_soft_set_level(nua_log, level); - su_log_soft_set_level(soa_log, level); - su_log_soft_set_level(su_log_default, level); - su_log_soft_set_level(nea_log, level); - su_log_soft_set_level(nta_log, level); - su_log_soft_set_level(tport_log, level); -} - void s2_step(void) { su_root_step(s2base->root, 10); diff --git a/libs/sofia-sip/s2check/s2base.h b/libs/sofia-sip/s2check/s2base.h index f048777e45..598954747d 100644 --- a/libs/sofia-sip/s2check/s2base.h +++ b/libs/sofia-sip/s2check/s2base.h @@ -40,8 +40,6 @@ extern int s2_start_stop; void s2_suite(char const *label); void s2_setup(char const *label); -void s2_setup_logs(int level); - void s2_step(void); void s2_case(char const *tag,