Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
archive: pass archiver struct to write_archive callback
[gitweb.git]
/
archive-zip.c
diff --git
a/archive-zip.c
b/archive-zip.c
index a776d8359c98f6f67229c3f1f015b7c2f3ac1c60..42df66080acad9a6705227a075058246e12078b2 100644
(file)
--- a/
archive-zip.c
+++ b/
archive-zip.c
@@
-261,7
+261,8
@@
static void dos_time(time_t *time, int *dos_date, int *dos_time)
*dos_time = t->tm_sec / 2 + t->tm_min * 32 + t->tm_hour * 2048;
}
-static int write_zip_archive(struct archiver_args *args)
+static int write_zip_archive(const struct archiver *ar,
+ struct archiver_args *args)
{
int err;