1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

(trunk libT) copyediting: yes, removing more unnecessary #includes

This commit is contained in:
Jordan Lee 2011-03-25 06:20:12 +00:00
parent 1b825079be
commit 1650a4730c
6 changed files with 10 additions and 17 deletions

View file

@ -12,8 +12,8 @@
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <stdio.h> /* fopen(), fwrite(), fclose() */
#include <string.h> /* strlen() */
#include <sys/types.h>
#include <sys/stat.h>

View file

@ -1,6 +1,5 @@
#include <stdio.h>
#include "transmission.h"
#include "net.h"
#include "peer-msgs.h"
#include "utils.h"

View file

@ -27,9 +27,6 @@
#include "cache.h"
#include "completion.h"
#include "crypto.h" /* tr_sha1() */
#ifdef WIN32
#include "net.h" /* for ECONN */
#endif
#include "peer-io.h"
#include "peer-mgr.h"
#include "peer-msgs.h"

View file

@ -20,9 +20,10 @@
#include <inttypes.h>
#include "peer-common.h"
struct tr_torrent;
struct tr_peer;
struct tr_address;
struct tr_bitfield;
struct tr_peer;
struct tr_torrent;
/**
* @addtogroup peers Peers
@ -52,11 +53,11 @@ void tr_peerMsgsCancel( tr_peermsgs * msgs,
void tr_peerMsgsFree( tr_peermsgs* );
size_t tr_generateAllowedSet( tr_piece_index_t * setmePieces,
size_t desiredSetSize,
size_t pieceCount,
const uint8_t * infohash,
const tr_address * addr );
size_t tr_generateAllowedSet( tr_piece_index_t * setmePieces,
size_t desiredSetSize,
size_t pieceCount,
const uint8_t * infohash,
const struct tr_address * addr );
/* @} */

View file

@ -17,9 +17,6 @@
#ifndef TR_EVENT_H
#define TR_EVENT_H
#include <stddef.h> /* size_t */
#include <inttypes.h> /* uint64_t */
/**
**/

View file

@ -57,7 +57,6 @@
#include "fdlimit.h"
#include "ConvertUTF.h"
#include "list.h"
#include "net.h"
#include "utils.h"
#include "platform.h" /* tr_lockLock() */
#include "version.h"