(trunk libT) remove dead code
This commit is contained in:
parent
1a242558f1
commit
40a9133ced
|
@ -196,12 +196,6 @@ preallocateFileFull( const char * filename, uint64_t length )
|
||||||
return success;
|
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.
|
/* Like pread and pwrite, except that the position is undefined afterwards.
|
||||||
And of course they are not thread-safe. */
|
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 );
|
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 );
|
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_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);
|
ssize_t tr_pwrite(int fd, void *buf, size_t count, off_t offset);
|
||||||
|
|
Loading…
Reference in New Issue