diff options
Diffstat (limited to 'diagnose.c')
-rw-r--r-- | diagnose.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/diagnose.c b/diagnose.c index 8f26569896..f9a2496c7f 100644 --- a/diagnose.c +++ b/diagnose.c @@ -4,9 +4,12 @@ #include "archive.h" #include "dir.h" #include "help.h" +#include "gettext.h" +#include "hex.h" #include "strvec.h" #include "object-store.h" #include "packfile.h" +#include "write-or-die.h" struct archive_dir { const char *path; @@ -43,7 +46,8 @@ int option_parse_diagnose(const struct option *opt, const char *arg, int unset) return error(_("invalid --%s value '%s'"), opt->long_name, arg); } -static void dir_file_stats_objects(const char *full_path, size_t full_path_len, +static void dir_file_stats_objects(const char *full_path, + size_t full_path_len UNUSED, const char *file_name, void *data) { struct strbuf *buf = data; |