Ignore:
Timestamp:
Oct 22, 2008, 6:42:37 PM (13 years ago)
Author:
charles
Message:

(libT) move the TR_GNUC macros from utils.h to a standalone header file so other libT headers can use them without getting an extra dependency tree.

File:
1 edited

Legend:

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

    r6931 r6948  
    1616#include <inttypes.h> /* uint16_t */
    1717
    18 #ifdef WIN32
    19  #include <winsock2.h> /* struct in_addr */
    20 #else
    21  #include <netinet/in.h> /* struct in_addr */
    22 #endif
     18#include "net.h" /* struct in_addr */
     19#include "tr-gnuc.h"
    2320
    2421struct in_addr;
     
    4744int tr_pexCompare( const void * a, const void * b );
    4845
    49 tr_peerMgr* tr_peerMgrNew( struct tr_handle * );
     46tr_peerMgr* tr_peerMgrNew( struct tr_handle * ) TR_GNUC_MALLOC;
    5047
    5148void tr_peerMgrFree( tr_peerMgr * manager );
Note: See TracChangeset for help on using the changeset viewer.