Ignore:
Timestamp:
Feb 21, 2011, 3:36:07 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) remove unused functions: tr_bitsetDifference() tr_bitfieldDifference()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bitfield.c

    r12003 r12006  
    174174}
    175175
    176 /* set 'a' to all the flags that were in 'a' but not 'b' */
    177 void
    178 tr_bitfieldDifference( tr_bitfield * a, const tr_bitfield * b )
    179 {
    180     uint8_t * ait = a->bits;
    181     const uint8_t * aend = ait + a->byteCount;
    182     const uint8_t * bit = b->bits;
    183     const uint8_t * bend = bit + b->byteCount;
    184 
    185     while( ait!=aend && bit!=bend )
    186         *ait++ &= ~( *bit++ );
    187 }
    188 
    189176size_t
    190177tr_bitfieldCountTrueBits( const tr_bitfield* b )
Note: See TracChangeset for help on using the changeset viewer.