Ignore:
Timestamp:
Jan 1, 2010, 10:26:35 PM (12 years ago)
Author:
charles
Message:

(trunk libT) replace the TR_INLINE macro with the standard "inline" keyword, since we require inline functions anyway

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.h

    r9778 r9847  
    9292tr_bool tr_isValidPeerAddress( const tr_address * addr, tr_port port );
    9393
    94 static TR_INLINE tr_bool tr_isAddress( const tr_address * a ) { return ( a != NULL ) && ( a->type==TR_AF_INET || a->type==TR_AF_INET6 ); }
     94static inline tr_bool tr_isAddress( const tr_address * a ) { return ( a != NULL ) && ( a->type==TR_AF_INET || a->type==TR_AF_INET6 ); }
    9595
    9696tr_bool tr_net_hasIPv6( tr_port );
Note: See TracChangeset for help on using the changeset viewer.