diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-10-17 23:37:09 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-10-17 23:37:09 +0000 |
commit | 094933a38d8a5200ad081d2b2ef450013e650f47 (patch) | |
tree | f7f17af6c551d9afabc461b7fec239214986640e /lib | |
parent | 229af4a1167ba36c23c8ef805ed97f960187d459 (diff) | |
download | FreeBSD-src-094933a38d8a5200ad081d2b2ef450013e650f47.zip FreeBSD-src-094933a38d8a5200ad081d2b2ef450013e650f47.tar.gz |
Correct the return type of archive_write_data
to match the documentation.
MFC after: 30 days
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libarchive/archive.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/archive.h.in b/lib/libarchive/archive.h.in index 5260343..03fbd4c 100644 --- a/lib/libarchive/archive.h.in +++ b/lib/libarchive/archive.h.in @@ -291,7 +291,7 @@ int archive_write_open_file(struct archive *, const char *_file); */ int archive_write_header(struct archive *, struct archive_entry *); -int archive_write_data(struct archive *, const void *, size_t); +ssize_t archive_write_data(struct archive *, const void *, size_t); int archive_write_close(struct archive *); void archive_write_finish(struct archive *); |