Wed Jan 28 12:00:26 CST 2009 Pekka Pessi <first.last@nokia.com>

* su_timer.c: no more type-punning
  



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11849 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-02-11 17:14:57 +00:00
parent 5c8181cc20
commit b3256ae861
2 changed files with 6 additions and 3 deletions

View File

@ -1 +1 @@
Wed Feb 11 11:14:27 CST 2009
Wed Feb 11 11:14:50 CST 2009

View File

@ -33,12 +33,15 @@
#include "config.h"
#include <sys/types.h>
#include <sofia-sip/heap.h>
#include "sofia-sip/heap.h"
typedef union {
void *private;
/* Use for debugging */
struct timers_priv { size_t _size, _used; struct su_timer_s * _heap[2]; } *actual;
struct timers_priv {
size_t _size, _used;
struct su_timer_s * _heap[2];
} *actual;
} su_timer_heap_t;
#define SU_TIMER_QUEUE_T su_timer_heap_t