Ignore:
Timestamp:
Jun 19, 2008, 2:53:57 AM (14 years ago)
Author:
charles
Message:

minor bencode cleanup: (1) remove unused BENC_NULL (2) make tr_bencInit() a private static function in bencode.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bencode.h

    r6162 r6224  
    8080/* convenience functions for building tr_benc    structures */
    8181
    82 static inline void tr_bencInit( tr_benc    * val, int type )
    83 {
    84     memset( val, 0, sizeof( *val ) );
    85     val->type = type;
    86 }
    87 
    8882#define tr_bencInitStr( a, b, c, d ) \
    8983    _tr_bencInitStr( (a), ( char * )(b), (c), (d) )
Note: See TracChangeset for help on using the changeset viewer.