(trunk, libT) sibling to r9027, remove more unused code

This commit is contained in:
Charles Kerr 2009-09-07 06:23:15 +00:00
parent 88d6b568a4
commit 0ef34b64b7
2 changed files with 0 additions and 14 deletions

View File

@ -35,18 +35,6 @@ tr_ptrArrayDestruct( tr_ptrArray * p, PtrArrayForeachFunc func )
memset( p, ~0, sizeof( tr_ptrArray ) );
}
tr_ptrArray*
tr_ptrArrayDup( tr_ptrArray* in )
{
tr_ptrArray * out;
out = tr_new( tr_ptrArray, 1 );
out->n_items = out->n_alloc = in->n_items;
out->items = tr_memdup( in->items, out->n_items * sizeof( void* ) );
return out;
}
void
tr_ptrArrayForeach( tr_ptrArray * t,
PtrArrayForeachFunc func )

View File

@ -41,8 +41,6 @@ extern const tr_ptrArray TR_PTR_ARRAY_INIT;
void tr_ptrArrayDestruct( tr_ptrArray*, PtrArrayForeachFunc func );
tr_ptrArray * tr_ptrArrayDup( tr_ptrArray* );
void tr_ptrArrayForeach( tr_ptrArray * array,
PtrArrayForeachFunc func );