wrap the dead parts of fastresume.c in #if 0 blocks

This commit is contained in:
Charles Kerr 2008-04-14 15:32:28 +00:00
parent 368e8910f8
commit 2d90c93765
2 changed files with 4 additions and 2 deletions

View File

@ -121,6 +121,7 @@ enum
( FR_MTIME_LEN( t ) + FR_BLOCK_BITFIELD_LEN( t ) )
#define FR_SPEED_LEN (2 * (sizeof(uint16_t) + sizeof(uint8_t) ) )
#if 0
static void
fastResumeFileName( char * buf, size_t buflen, const tr_torrent * tor, int tag )
{
@ -138,6 +139,7 @@ fastResumeFileName( char * buf, size_t buflen, const tr_torrent * tor, int tag )
tr_buildPath( buf, buflen, cacheDir, base, NULL );
}
}
#endif
static tr_time_t*
getMTimes( const tr_torrent * tor, int * setme_n )
@ -164,6 +166,7 @@ getMTimes( const tr_torrent * tor, int * setme_n )
return m;
}
#if 0
static void
fastResumeWriteData( uint8_t id,
const void * data,
@ -325,6 +328,7 @@ tr_fastResumeSave( const tr_torrent * tor )
fclose( file );
}
#endif
/***
****

View File

@ -25,8 +25,6 @@
#ifndef TR_FAST_RESUME_H
#define TR_FAST_RESUME_H
void tr_fastResumeSave( const tr_torrent * tor );
/**
* Returns a bitwise-or'ed set of the data loaded from fastresume
*/