diff options
author | Tim Kientzle <kientzle@gmail.com> | 2011-01-22 18:05:58 -0500 |
---|---|---|
committer | Tim Kientzle <kientzle@gmail.com> | 2011-01-22 18:05:58 -0500 |
commit | 85a8c85227016804e4453f07278967da2907e2d8 (patch) | |
tree | f6b3ee4fcac8ec2dd0abcf666851501cfd25726c /libarchive/archive_read_data_into_fd.c | |
parent | 566a663670eeddf18c4b45ba51a80952714cb213 (diff) | |
download | libarchive-85a8c85227016804e4453f07278967da2907e2d8.tar.gz |
Eliminate a bunch of off_t uses.
Most of these are from the libarchive 2 API that's no longer supported.
A few are places where int64_t offsets need to be mapped down to system
APIs that might only be 32 bits; those are a little trickier.
SVN-Revision: 2937
Diffstat (limited to 'libarchive/archive_read_data_into_fd.c')
-rw-r--r-- | libarchive/archive_read_data_into_fd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libarchive/archive_read_data_into_fd.c b/libarchive/archive_read_data_into_fd.c index 664a632b..6a77639b 100644 --- a/libarchive/archive_read_data_into_fd.c +++ b/libarchive/archive_read_data_into_fd.c @@ -85,11 +85,7 @@ archive_read_data_into_fd(struct archive *a, int fd) const void *buff; size_t size, bytes_to_write; ssize_t bytes_written; -#if ARCHIVE_VERSION_NUMBER < 3000000 - off_t target_offset; -#else int64_t target_offset; -#endif int64_t actual_offset = 0; int can_lseek; char *nulls = NULL; |