Changeset 12230


Ignore:
Timestamp:
Mar 25, 2011, 6:20:12 AM (11 years ago)
Author:
jordan
Message:

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

Location:
trunk/libtransmission
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/metainfo.c

    r12228 r12230  
    1313#include <assert.h>
    1414#include <errno.h>
    15 #include <stdio.h>
    16 #include <string.h>
     15#include <stdio.h> /* fopen(), fwrite(), fclose() */
     16#include <string.h> /* strlen() */
    1717
    1818#include <sys/types.h>
  • trunk/libtransmission/peer-msgs-test.c

    r12229 r12230  
    11#include <stdio.h>
    22#include "transmission.h"
    3 #include "net.h"
    43#include "peer-msgs.h"
    54#include "utils.h"
  • trunk/libtransmission/peer-msgs.c

    r12228 r12230  
    2828#include "completion.h"
    2929#include "crypto.h" /* tr_sha1() */
    30 #ifdef WIN32
    31 #include "net.h" /* for ECONN */
    32 #endif
    3330#include "peer-io.h"
    3431#include "peer-mgr.h"
  • trunk/libtransmission/peer-msgs.h

    r11709 r12230  
    2121#include "peer-common.h"
    2222
     23struct tr_address;
     24struct tr_bitfield;
     25struct tr_peer;
    2326struct tr_torrent;
    24 struct tr_peer;
    25 struct tr_bitfield;
    2627
    2728/**
     
    5354void         tr_peerMsgsFree( tr_peermsgs* );
    5455
    55 size_t       tr_generateAllowedSet( tr_piece_index_t  * setmePieces,
    56                                     size_t              desiredSetSize,
    57                                     size_t              pieceCount,
    58                                     const uint8_t     * infohash,
    59                                     const tr_address  * addr );
     56size_t       tr_generateAllowedSet( tr_piece_index_t         * setmePieces,
     57                                    size_t                     desiredSetSize,
     58                                    size_t                     pieceCount,
     59                                    const uint8_t            * infohash,
     60                                    const struct tr_address  * addr );
    6061
    6162
  • trunk/libtransmission/trevent.h

    r12204 r12230  
    1818#define TR_EVENT_H
    1919
    20 #include <stddef.h> /* size_t */
    21 #include <inttypes.h> /* uint64_t */
    22 
    2320/**
    2421**/
  • trunk/libtransmission/utils.c

    r12229 r12230  
    5858#include "ConvertUTF.h"
    5959#include "list.h"
    60 #include "net.h"
    6160#include "utils.h"
    6261#include "platform.h" /* tr_lockLock() */
Note: See TracChangeset for help on using the changeset viewer.