Commit ad7de6a5165442ec89b9daaadb18901a981befee

Stefan Sperling 2019-08-08T09:27:38

remove unused function got_diff_blob_file_lines_changed()

diff --git a/lib/diff.c b/lib/diff.c
index 4270950..6b7e4d4 100644
--- a/lib/diff.c
+++ b/lib/diff.c
@@ -232,15 +232,6 @@ got_diff_blob_file(struct got_blob_object *blob1, FILE *f2, size_t size2,
 }
 
 const struct got_error *
-got_diff_blob_file_lines_changed(struct got_diff_changes **changes,
-    struct got_blob_object *blob1, FILE *f2, size_t size2,
-    const char *label2, int diff_context)
-{
-	return diff_blob_file(changes, blob1, f2, size2, label2, diff_context,
-	    NULL);
-}
-
-const struct got_error *
 got_diff_blob_lines_changed(struct got_diff_changes **changes,
     struct got_blob_object *blob1, struct got_blob_object *blob2)
 {
diff --git a/lib/got_lib_diff.h b/lib/got_lib_diff.h
index e3af9a1..ce84a9b 100644
--- a/lib/got_lib_diff.h
+++ b/lib/got_lib_diff.h
@@ -142,8 +142,6 @@ const struct got_error *got_diffreg(int *, FILE *,
     FILE *, int, struct got_diff_args *, struct got_diff_state *, FILE *,
     struct got_diff_changes *);
 
-const struct got_error *got_diff_blob_file_lines_changed(struct got_diff_changes **,
-    struct got_blob_object *, FILE *, size_t, const char *, int);
 const struct got_error *got_diff_blob_lines_changed(struct got_diff_changes **,
     struct got_blob_object *, struct got_blob_object *);
 void got_diff_free_changes(struct got_diff_changes *);