(trunk libT) remove dead code

This commit is contained in:
Charles Kerr 2010-05-20 14:05:27 +00:00
parent 1a242558f1
commit 40a9133ced
2 changed files with 0 additions and 8 deletions

View File

@ -196,12 +196,6 @@ preallocateFileFull( const char * filename, uint64_t length )
return success;
}
tr_bool
tr_preallocate_file( const char * filename, uint64_t length )
{
return preallocateFileFull( filename, length );
}
/* Like pread and pwrite, except that the position is undefined afterwards.
And of course they are not thread-safe. */

View File

@ -38,8 +38,6 @@ int tr_open_file_for_writing( const char * filename );
void tr_close_file( int fd );
tr_bool tr_preallocate_file( const char * filename, uint64_t length );
int64_t tr_lseek( int fd, int64_t offset, int whence );
ssize_t tr_pread(int fd, void *buf, size_t count, off_t offset);
ssize_t tr_pwrite(int fd, void *buf, size_t count, off_t offset);