tree-diff: no need to manually verify that there is no mode change for a path
[gitweb.git] / diff.h
diff --git a/diff.h b/diff.h
index 760388fa174c7c8370463e2a9788ded6aab685c7..e79f3b3ff09aede32e5bdcf2fbbcaaa130ef6bbb 100644 (file)
--- a/diff.h
+++ b/diff.h
@@ -198,7 +198,6 @@ extern int diff_root_tree_sha1(const unsigned char *new, const char *base,
 
 struct combine_diff_path {
        struct combine_diff_path *next;
-       int len;
        char *path;
        unsigned int mode;
        unsigned char sha1[20];
@@ -332,7 +331,7 @@ extern int diff_flush_patch_id(struct diff_options *, unsigned char *);
 
 extern int diff_result_code(struct diff_options *, int);
 
-extern void diff_no_index(struct rev_info *, int, const char **, int, const char *);
+extern void diff_no_index(struct rev_info *, int, const char **, const char *);
 
 extern int index_differs_from(const char *def, int diff_flags);