remove freeswitch's privates (couldn't resist)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@677 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2006-02-26 04:52:34 +00:00
1 parent c30a71fa9c
commit 14072e8725
13 files changed
+64 -64

No files matched your search

+3 -3
View File
@@ -53,7 +53,7 @@ static switch_status soft_timer_init(switch_timer *timer)
struct timer_private *private;
private = switch_core_alloc(timer->memory_pool, sizeof(*private));
timer->private = private;
timer->private_info = private;
#ifdef WINTIMER
QueryPerformanceFrequency(&private->freq);
@@ -67,7 +67,7 @@ static switch_status soft_timer_init(switch_timer *timer)
static switch_status soft_timer_next(switch_timer *timer)
{
struct timer_private *private = timer->private;
struct timer_private *private = timer->private_info;
#ifdef WINTIMER
private->base.QuadPart += timer->interval * (private->freq.QuadPart / 1000);
@@ -93,7 +93,7 @@ static switch_status soft_timer_next(switch_timer *timer)
static switch_status soft_timer_destroy(switch_timer *timer)
{
timer->private = NULL;
timer->private_info = NULL;
return SWITCH_STATUS_SUCCESS;
}