diff options
author | Tim Kientzle <kientzle@gmail.com> | 2011-12-22 00:46:08 -0500 |
---|---|---|
committer | Tim Kientzle <kientzle@gmail.com> | 2011-12-22 00:46:08 -0500 |
commit | fe9b86254d66411b6bf267a02236d4672258b61b (patch) | |
tree | 07e3221ca02fd838ee4d39247a54c7c9430332cb /libarchive/archive_read.c | |
parent | f6c2392f31c8772d6c79882d4c7758a5abd409e9 (diff) | |
download | libarchive-fe9b86254d66411b6bf267a02236d4672258b61b.tar.gz |
Remove a few stray references to ARCHIVE_API_VERSION, which was
removed some time ago.
Also remove the last references to archive_read_data_into_buffer
(a mis-designed interface that was deprecated a very long time ago).
SVN-Revision: 3954
Diffstat (limited to 'libarchive/archive_read.c')
-rw-r--r-- | libarchive/archive_read.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libarchive/archive_read.c b/libarchive/archive_read.c index 441be531..b1d49143 100644 --- a/libarchive/archive_read.c +++ b/libarchive/archive_read.c @@ -668,22 +668,6 @@ archive_read_data(struct archive *_a, void *buff, size_t s) return (bytes_read); } -#if ARCHIVE_API_VERSION < 3 -/* - * Obsolete function provided for compatibility only. Note that the API - * of this function doesn't allow the caller to detect if the remaining - * data from the archive entry is shorter than the buffer provided, or - * even if an error occurred while reading data. - */ -int -archive_read_data_into_buffer(struct archive *a, void *d, ssize_t len) -{ - - archive_read_data(a, d, len); - return (ARCHIVE_OK); -} -#endif - /* * Skip over all remaining data in this entry. */ |