mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 05:48:33 +00:00
part 1 of many standardizing typedefed types to end in _t
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1292 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
751ca005d3
commit
d0347b2a95
41 files changed
+344
-333
No files matched your search
@@ -36,7 +36,7 @@ static const char modname[] = "mod_event_test";
|
||||
//#define TORTURE_ME
|
||||
|
||||
|
||||
static void event_handler(switch_event *event)
|
||||
static void event_handler(switch_event_t *event)
|
||||
{
|
||||
char buf[1024];
|
||||
|
||||
@@ -68,12 +68,12 @@ static switch_loadable_module_interface event_test_module_interface = {
|
||||
#define TTHREADS 500
|
||||
static int THREADS = 0;
|
||||
|
||||
static void *torture_thread(switch_thread *thread, void *obj)
|
||||
static void *torture_thread(switch_thread_t *thread, void *obj)
|
||||
{
|
||||
int y = 0;
|
||||
int z = 0;
|
||||
switch_core_thread_session *ts = obj;
|
||||
switch_event *event;
|
||||
switch_event_t *event;
|
||||
|
||||
z = THREADS++;
|
||||
|
||||
@@ -89,7 +89,7 @@ static void *torture_thread(switch_thread *thread, void *obj)
|
||||
}
|
||||
|
||||
if (ts->pool) {
|
||||
switch_memory_pool *pool = ts->pool;
|
||||
switch_memory_pool_t *pool = ts->pool;
|
||||
switch_core_destroy_memory_pool(&pool);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user