Changeset 10662


Ignore:
Timestamp:
May 19, 2010, 4:17:51 PM (12 years ago)
Author:
charles
Message:

(trunk libT) clean up #includes for event.h and evutil.h

Location:
trunk/libtransmission
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bandwidth.c

    r9868 r10662  
    1414#include <limits.h>
    1515
    16 #include "event.h"
    17 
    1816#include "transmission.h"
    1917#include "bandwidth.h"
  • trunk/libtransmission/bencode-test.c

    r10091 r10662  
    44#include <string.h>
    55
    6 #include "event.h"
     6#include <event.h>
    77
    88#include "transmission.h"
  • trunk/libtransmission/crypto.c

    r10521 r10662  
    1010 */
    1111
    12 #include <stdlib.h> /* for abs() */
    13 #include <limits.h> /* for INT_MAX */
    14 #include <sys/types.h> /* for event.h, as well as netinet/in.h on some platforms
    15                          */
    1612#include <assert.h>
    1713#include <inttypes.h> /* uint8_t */
     14#include <limits.h> /* for INT_MAX */
     15#include <stdarg.h>
     16#include <stdlib.h> /* for abs() */
    1817#include <string.h> /* memcpy */
    19 #include <stdarg.h>
    2018
    2119#include <openssl/bn.h>
     
    2523#include <openssl/sha.h>
    2624#include <openssl/rand.h>
    27 
    28 #include <event.h>
    2925
    3026#include "transmission.h"
  • trunk/libtransmission/fdlimit.c

    r10651 r10662  
    4949#include <fcntl.h> /* O_LARGEFILE posix_fadvise */
    5050#include <unistd.h>
    51 
    52 #include <stdarg.h> /* some 1.4.x versions of evutil.h need this */
    53 #include <evutil.h>
    5451
    5552#include "transmission.h"
  • trunk/libtransmission/json.c

    r9979 r10662  
    1616#include <string.h>
    1717#include <stdio.h> /* printf */
    18 
    19 #include <event.h> /* evbuffer */
    2018
    2119#include "JSON_parser.h"
  • trunk/libtransmission/port-forwarding.c

    r10184 r10662  
    1717#include <sys/types.h>
    1818
     19#include <event.h>
     20
    1921#include "transmission.h"
    2022#include "natpmp.h"
  • trunk/libtransmission/torrent.c

    r10647 r10662  
    2323#include <stdlib.h> /* qsort */
    2424
    25 #include <event.h> /* evbuffer */
     25#include <stdarg.h> /* some 1.4.x versions of evutil.h need this */
     26#include <evutil.h> /* evutil_vsnprintf() */
    2627
    2728#include "transmission.h"
Note: See TracChangeset for help on using the changeset viewer.