Changeset 6627


Ignore:
Timestamp:
Aug 22, 2008, 3:33:55 PM (13 years ago)
Author:
charles
Message:

(libT) remove a little more dead code

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r6623 r6627  
    435435    uint8_t w[SHA_DIGEST_LENGTH + 4];
    436436    uint8_t x[SHA_DIGEST_LENGTH];
    437     tr_bitfield_t * a;
     437    tr_bitfield * a;
    438438    uint32_t a_size;
    439439
  • trunk/libtransmission/utils.h

    r6624 r6627  
    244244
    245245typedef struct tr_bitfield tr_bitfield;
    246 typedef struct tr_bitfield tr_bitfield_t;
    247246
    248247tr_bitfield* tr_bitfieldNew( size_t bitcount ) TR_GNUC_MALLOC;
     
    261260
    262261tr_bitfield* tr_bitfieldOr( tr_bitfield*, const tr_bitfield* );
    263 
    264 #if 0
    265 /** @brief finds the first true bit in the bitfield, starting at `startPos'
    266     @param setmePos the position of the true bit, if found, is set here.
    267     @return nonzero if a true bit was found */
    268 int tr_bitfieldFindTrue( const tr_bitfield  * bitfield,
    269                          size_t               startPos,
    270                          size_t             * setmePos );
    271 #endif
    272 
    273262
    274263/** A stripped-down version of bitfieldHas to be used
Note: See TracChangeset for help on using the changeset viewer.