(trunk libT) clean up #includes for event.h and evutil.h
This commit is contained in:
parent
fcda98c86f
commit
7936f0d5d1
|
@ -13,8 +13,6 @@
|
|||
#include <assert.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "event.h"
|
||||
|
||||
#include "transmission.h"
|
||||
#include "bandwidth.h"
|
||||
#include "crypto.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "event.h"
|
||||
#include <event.h>
|
||||
|
||||
#include "transmission.h"
|
||||
#include "bencode.h"
|
||||
|
|
|
@ -9,14 +9,12 @@
|
|||
* $Id$
|
||||
*/
|
||||
|
||||
#include <stdlib.h> /* for abs() */
|
||||
#include <limits.h> /* for INT_MAX */
|
||||
#include <sys/types.h> /* for event.h, as well as netinet/in.h on some platforms
|
||||
*/
|
||||
#include <assert.h>
|
||||
#include <inttypes.h> /* uint8_t */
|
||||
#include <string.h> /* memcpy */
|
||||
#include <limits.h> /* for INT_MAX */
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h> /* for abs() */
|
||||
#include <string.h> /* memcpy */
|
||||
|
||||
#include <openssl/bn.h>
|
||||
#include <openssl/dh.h>
|
||||
|
@ -25,8 +23,6 @@
|
|||
#include <openssl/sha.h>
|
||||
#include <openssl/rand.h>
|
||||
|
||||
#include <event.h>
|
||||
|
||||
#include "transmission.h"
|
||||
#include "crypto.h"
|
||||
#include "utils.h"
|
||||
|
|
|
@ -49,9 +49,6 @@
|
|||
#include <fcntl.h> /* O_LARGEFILE posix_fadvise */
|
||||
#include <unistd.h>
|
||||
|
||||
#include <stdarg.h> /* some 1.4.x versions of evutil.h need this */
|
||||
#include <evutil.h>
|
||||
|
||||
#include "transmission.h"
|
||||
#include "fdlimit.h"
|
||||
#include "net.h"
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
#include <string.h>
|
||||
#include <stdio.h> /* printf */
|
||||
|
||||
#include <event.h> /* evbuffer */
|
||||
|
||||
#include "JSON_parser.h"
|
||||
|
||||
#include "transmission.h"
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <event.h>
|
||||
|
||||
#include "transmission.h"
|
||||
#include "natpmp.h"
|
||||
#include "net.h"
|
||||
|
|
|
@ -22,7 +22,8 @@
|
|||
#include <string.h> /* memcmp */
|
||||
#include <stdlib.h> /* qsort */
|
||||
|
||||
#include <event.h> /* evbuffer */
|
||||
#include <stdarg.h> /* some 1.4.x versions of evutil.h need this */
|
||||
#include <evutil.h> /* evutil_vsnprintf() */
|
||||
|
||||
#include "transmission.h"
|
||||
#include "announcer.h"
|
||||
|
|
Loading…
Reference in New Issue