summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-01-14 14:39:02 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-01-15 11:05:47 -0800
commit2b102efc8cd60730f044917d3aa68b3dd54d82d0 (patch)
tree5c877b422c1b03b13f2b68a92e328e2238705b0c
parentpack-bitmap.c: make pack_bitmap_filename() static (diff)
downloadtgif-2b102efc8cd60730f044917d3aa68b3dd54d82d0.tar.xz
line-log.c: make line_log_data_init() static
No external callers exist. Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--line-log.c2
-rw-r--r--line-log.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/line-log.c b/line-log.c
index b7864ad586..a490efea07 100644
--- a/line-log.c
+++ b/line-log.c
@@ -237,7 +237,7 @@ static void diff_ranges_release(struct diff_ranges *diff)
range_set_release(&diff->target);
}
-void line_log_data_init(struct line_log_data *r)
+static void line_log_data_init(struct line_log_data *r)
{
memset(r, 0, sizeof(struct line_log_data));
range_set_init(&r->ranges, 0);
diff --git a/line-log.h b/line-log.h
index a9212d84e4..7a5c24e2df 100644
--- a/line-log.h
+++ b/line-log.h
@@ -54,8 +54,6 @@ struct line_log_data {
struct diff_ranges diff;
};
-extern void line_log_data_init(struct line_log_data *r);
-
extern void line_log_init(struct rev_info *rev, const char *prefix, struct string_list *args);
extern int line_log_filter(struct rev_info *rev);