summaryrefslogtreecommitdiff
path: root/line-log.h
diff options
context:
space:
mode:
Diffstat (limited to 'line-log.h')
-rw-r--r--line-log.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/line-log.h b/line-log.h
index 82ae8d98a4..e9dadbc1a5 100644
--- a/line-log.h
+++ b/line-log.h
@@ -1,10 +1,9 @@
#ifndef LINE_LOG_H
#define LINE_LOG_H
-#include "diffcore.h"
-
struct rev_info;
struct commit;
+struct string_list;
/* A range [start,end]. Lines are numbered starting at 0, and the
* ranges include start but exclude end. */
@@ -59,4 +58,6 @@ int line_log_process_ranges_arbitrary_commit(struct rev_info *rev,
int line_log_print(struct rev_info *rev, struct commit *commit);
+void line_log_free(struct rev_info *rev);
+
#endif /* LINE_LOG_H */