Correct the return type of archive_write_data

to match the documentation.

MFC after: 30 days
This commit is contained in:
Tim Kientzle 2004-10-17 23:37:09 +00:00
parent 49f89e883c
commit cc11275dd4

View File

@ -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 *);