solaris porting

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4984 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2007-04-20 03:51:00 +00:00
parent 2266c9b89e
commit 5bcc83f32b
9 changed files with 22 additions and 146 deletions

View File

@@ -103,7 +103,7 @@ static void UnlockArena( void )
PR_Unlock( arenaLock );
return;
} /* end UnlockArena() */
#if 0
PR_IMPLEMENT(void) PL_InitArenaPool(
PLArenaPool *pool, const char *name, PRUint32 size, PRUint32 align)
{
@@ -126,7 +126,7 @@ PR_IMPLEMENT(void) PL_InitArenaPool(
arena_stats_list = &pool->stats;
#endif
}
#endif
/*
** PL_ArenaAllocate() -- allocate space from an arena pool

View File

@@ -70,8 +70,6 @@ PL_HashTableRawAdd;
PL_HashTableRawLookup;
PL_HashTableRawRemove;
PL_HashTableRemove;
PL_InitArenaPool;
PL_NewHashTable;
libVersionPoint;
;+ local: *;
;+};

View File

@@ -107,7 +107,7 @@ static PLHashAllocOps defaultHashAllocOps = {
DefaultAllocTable, DefaultFreeTable,
DefaultAllocEntry, DefaultFreeEntry
};
#if 0
PR_IMPLEMENT(PLHashTable *)
PL_NewHashTable(PRUint32 n, PLHashFunction keyHash,
PLHashComparator keyCompare, PLHashComparator valueCompare,
@@ -153,7 +153,7 @@ PL_NewHashTable(PRUint32 n, PLHashFunction keyHash,
ht->allocPriv = allocPriv;
return ht;
}
#endif
PR_IMPLEMENT(void)
PL_HashTableDestroy(PLHashTable *ht)
{