mirror of
https://github.com/transmission/transmission
synced 2025-02-02 20:43:51 +00:00
(trunk, libT) sibling to r9027, remove more unused code
This commit is contained in:
parent
88d6b568a4
commit
0ef34b64b7
2 changed files with 0 additions and 14 deletions
|
@ -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 )
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue