mirror of
https://github.com/transmission/transmission
synced 2025-03-15 16:29:34 +00:00
(trunk libT) remove dead code
This commit is contained in:
parent
1a242558f1
commit
40a9133ced
2 changed files with 0 additions and 8 deletions
|
@ -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. */
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue