From de34a0545b2fa893685e52797b856fec557e2ca1 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Wed, 13 Jul 2011 03:23:37 +0000 Subject: [PATCH] (trunk libT) minor #include cleanups --- libtransmission/inout.h | 9 ++++----- libtransmission/makemeta.c | 2 +- libtransmission/rpc-server.c | 2 +- libtransmission/session.c | 2 +- libtransmission/utils.c | 2 +- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/libtransmission/inout.h b/libtransmission/inout.h index 23a1918c5..72ecc1520 100644 --- a/libtransmission/inout.h +++ b/libtransmission/inout.h @@ -34,11 +34,10 @@ int tr_ioRead( struct tr_torrent * tor, uint32_t len, uint8_t * setme ); -int -tr_ioPrefetch( tr_torrent * tor, - tr_piece_index_t pieceIndex, - uint32_t begin, - uint32_t len ); +int tr_ioPrefetch( tr_torrent * tor, + tr_piece_index_t pieceIndex, + uint32_t begin, + uint32_t len ); /** * Writes the block specified by the piece index, offset, and length. diff --git a/libtransmission/makemeta.c b/libtransmission/makemeta.c index 202440250..391f63c3c 100644 --- a/libtransmission/makemeta.c +++ b/libtransmission/makemeta.c @@ -29,7 +29,7 @@ #include "session.h" #include "bencode.h" #include "makemeta.h" -#include "platform.h" /* threads, locks, TR_PATH_MAX */ +#include "platform.h" /* threads, locks */ #include "utils.h" /* buildpath */ #include "version.h" diff --git a/libtransmission/rpc-server.c b/libtransmission/rpc-server.c index d514587c9..7ce865232 100644 --- a/libtransmission/rpc-server.c +++ b/libtransmission/rpc-server.c @@ -32,7 +32,7 @@ #include "fdlimit.h" #include "list.h" #include "net.h" -#include "platform.h" +#include "platform.h" /* tr_getWebClientDir() */ #include "ptrarray.h" #include "rpcimpl.h" #include "rpc-server.h" diff --git a/libtransmission/session.c b/libtransmission/session.c index c46856741..1b3bd0a3c 100644 --- a/libtransmission/session.c +++ b/libtransmission/session.c @@ -37,7 +37,7 @@ #include "net.h" #include "peer-io.h" #include "peer-mgr.h" -#include "platform.h" /* tr_lock */ +#include "platform.h" /* tr_lock, tr_getTorrentDir(), tr_getFreeSpace() */ #include "port-forwarding.h" #include "rpc-server.h" #include "session.h" diff --git a/libtransmission/utils.c b/libtransmission/utils.c index 4786b64e2..2c8758e46 100644 --- a/libtransmission/utils.c +++ b/libtransmission/utils.c @@ -58,7 +58,7 @@ #include "ConvertUTF.h" #include "list.h" #include "utils.h" -#include "platform.h" /* tr_lockLock() */ +#include "platform.h" /* tr_lockLock(), TR_PATH_MAX */ #include "version.h" -- 2.40.0