summaryrefslogtreecommitdiff
path: root/line-log.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-01-14 22:39:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-01-15 19:05:47 (GMT)
commit2b102efc8cd60730f044917d3aa68b3dd54d82d0 (patch)
tree5c877b422c1b03b13f2b68a92e328e2238705b0c /line-log.c
parentcb4680500a3e72e0d5811659f9e4f46c8df91696 (diff)
downloadgit-2b102efc8cd60730f044917d3aa68b3dd54d82d0.zip
git-2b102efc8cd60730f044917d3aa68b3dd54d82d0.tar.gz
git-2b102efc8cd60730f044917d3aa68b3dd54d82d0.tar.bz2
line-log.c: make line_log_data_init() static
No external callers exist. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'line-log.c')
-rw-r--r--line-log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/line-log.c b/line-log.c
index b7864ad..a490efe 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);