diff options
Diffstat (limited to 'archive-zip.c')
-rw-r--r-- | archive-zip.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/archive-zip.c b/archive-zip.c index 9fe43d7..fd1d3f8 100644 --- a/archive-zip.c +++ b/archive-zip.c @@ -1,13 +1,18 @@ /* * Copyright (c) 2006 Rene Scharfe */ -#include "cache.h" +#include "git-compat-util.h" #include "config.h" #include "archive.h" +#include "gettext.h" +#include "git-zlib.h" +#include "hex.h" #include "streaming.h" #include "utf8.h" -#include "object-store.h" +#include "object-store-ll.h" +#include "strbuf.h" #include "userdiff.h" +#include "write-or-die.h" #include "xdiff-interface.h" #include "date.h" @@ -612,12 +617,14 @@ static void dos_time(timestamp_t *timestamp, int *dos_date, int *dos_time) *dos_time = tm.tm_sec / 2 + tm.tm_min * 32 + tm.tm_hour * 2048; } -static int archive_zip_config(const char *var, const char *value, void *data) +static int archive_zip_config(const char *var, const char *value, + const struct config_context *ctx UNUSED, + void *data UNUSED) { return userdiff_config(var, value); } -static int write_zip_archive(const struct archiver *ar, +static int write_zip_archive(const struct archiver *ar UNUSED, struct archiver_args *args) { int err; |