Changeset 4346


Ignore:
Timestamp:
Dec 26, 2007, 8:45:08 PM (14 years ago)
Author:
charles
Message:

dead code removal

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.c

    r4324 r4346  
    350350}
    351351
    352 void
    353 tr_torrentIterate( tr_handle * h, tr_callback_t func, void * d )
    354 {
    355     tr_torrent * tor, * next;
    356 
    357     for( tor = h->torrentList; tor; tor = next )
    358     {
    359         next = tor->next;
    360         func( tor, d );
    361     }
    362 }
    363 
    364352static void
    365353tr_closeImpl( void * vh )
  • trunk/libtransmission/transmission.h

    r4314 r4346  
    236236
    237237
    238 /***********************************************************************
    239  * tr_torrentIterate
    240  ***********************************************************************
    241  * Iterates on open torrents
    242  **********************************************************************/
    243238typedef struct tr_torrent tr_torrent;
    244 typedef void (*tr_callback_t) ( tr_torrent *, void * );
    245 void tr_torrentIterate( tr_handle *, tr_callback_t, void * );
    246 
    247239
    248240/***********************************************************************
Note: See TracChangeset for help on using the changeset viewer.