summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-10-18 05:31:01 +0000
committerkientzle <kientzle@FreeBSD.org>2004-10-18 05:31:01 +0000
commitbe9dd834586bafab7886afb05d8a7acc85e29806 (patch)
treea681288a84005dc09c00830a187bd5a0aefbe2c9
parent920ed4ea1902b86f9fe22eb51f6b8ddb7c934d23 (diff)
downloadFreeBSD-src-be9dd834586bafab7886afb05d8a7acc85e29806.zip
FreeBSD-src-be9dd834586bafab7886afb05d8a7acc85e29806.tar.gz
Revert 1.18: It broke Athlon64 builds, which
probably means it also requires a .so version bump. Defer it until I finish some related work on cleaning up error returns throughout the library. Thanks to: Conrad J. Sabatier
-rw-r--r--lib/libarchive/archive.h.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libarchive/archive.h.in b/lib/libarchive/archive.h.in
index 03fbd4c..24be2de 100644
--- a/lib/libarchive/archive.h.in
+++ b/lib/libarchive/archive.h.in
@@ -291,7 +291,8 @@ int archive_write_open_file(struct archive *, const char *_file);
*/
int archive_write_header(struct archive *,
struct archive_entry *);
-ssize_t archive_write_data(struct archive *, const void *, size_t);
+/* TODO: should be ssize_t, but that might require .so version bump? */
+int archive_write_data(struct archive *, const void *, size_t);
int archive_write_close(struct archive *);
void archive_write_finish(struct archive *);
OpenPOWER on IntegriCloud