diff options
author | Tim Kientzle <kientzle@gmail.com> | 2010-02-07 21:45:06 -0500 |
---|---|---|
committer | Tim Kientzle <kientzle@gmail.com> | 2010-02-07 21:45:06 -0500 |
commit | ed4245cb9927b24413b1b96016e6e7635b31ac13 (patch) | |
tree | 6483beec05d4eaaff33d85967f1fca0a19c75d96 /libarchive/archive_read_open_memory.c | |
parent | 26b196641ef8f10ce721c95dd03d8863fc7d3b9a (diff) | |
download | libarchive-ed4245cb9927b24413b1b96016e6e7635b31ac13.tar.gz |
Rip out the rest of the legacy 1.x API.
SVN-Revision: 1890
Diffstat (limited to 'libarchive/archive_read_open_memory.c')
-rw-r--r-- | libarchive/archive_read_open_memory.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libarchive/archive_read_open_memory.c b/libarchive/archive_read_open_memory.c index 61f574fa..b52d9be5 100644 --- a/libarchive/archive_read_open_memory.c +++ b/libarchive/archive_read_open_memory.c @@ -48,11 +48,7 @@ struct read_memory_data { static int memory_read_close(struct archive *, void *); static int memory_read_open(struct archive *, void *); -#if ARCHIVE_API_VERSION < 2 -static ssize_t memory_read_skip(struct archive *, void *, size_t request); -#else static off_t memory_read_skip(struct archive *, void *, off_t request); -#endif static ssize_t memory_read(struct archive *, void *, const void **buff); int @@ -123,13 +119,8 @@ memory_read(struct archive *a, void *client_data, const void **buff) * necessary in order to better exercise internal code when used * as a test harness. */ -#if ARCHIVE_API_VERSION < 2 -static ssize_t -memory_read_skip(struct archive *a, void *client_data, size_t skip) -#else static off_t memory_read_skip(struct archive *a, void *client_data, off_t skip) -#endif { struct read_memory_data *mine = (struct read_memory_data *)client_data; |