Changeset 2568


Ignore:
Timestamp:
Jul 31, 2007, 1:21:10 AM (15 years ago)
Author:
charles
Message:

remove unused macros

Location:
trunk/libtransmission
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/http.h

    r2040 r2568  
    5959#define TR_HTTP_POST            2
    6060#define TR_HTTP_M_POST          3
    61 tr_http_t   * tr_httpClient( int, const char *, int, const char *, ... )
    62               PRINTF( 4, 5 );
    63 tr_http_t   * tr_httpClientUrl( int, const char *, ... )
    64               PRINTF( 2, 3 );
     61tr_http_t   * tr_httpClient( int, const char *, int, const char *, ... );
     62tr_http_t   * tr_httpClientUrl( int, const char *, ... );
    6563/* only add headers or body before first pulse */
    6664void          tr_httpAddHeader( tr_http_t *, const char *, const char * );
    67 void          tr_httpAddBody( tr_http_t *, const char *, ... ) PRINTF( 2, 3 );
     65void          tr_httpAddBody( tr_http_t *, const char *, ... );
    6866void          tr_httpGetHeaders( tr_http_t *, const char **, int * );
    6967void          tr_httpGetBody( tr_http_t *, const char **, int * );
  • trunk/libtransmission/internal.h

    r2557 r2568  
    5353
    5454#ifdef __GNUC__
    55 #  define UNUSED __attribute__((unused))
    56 #  define PRINTF( fmt, args ) __attribute__((format (printf, fmt, args)))
     55#define UNUSED __attribute__((unused))
    5756#else
    58 #  define UNUSED
    59 #  define PRINTF( fmt, args )
     57#define UNUSED
    6058#endif
    6159
  • trunk/libtransmission/peer.c

    r2555 r2568  
    220220
    221221#define peer_dbg( a... ) __peer_dbg( peer, ## a )
    222 static void __peer_dbg( tr_peer_t * peer, char * msg, ... ) PRINTF( 2, 3 );
    223222
    224223static void __peer_dbg( tr_peer_t * peer, char * msg, ... )
Note: See TracChangeset for help on using the changeset viewer.