From 2b102efc8cd60730f044917d3aa68b3dd54d82d0 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 14 Jan 2015 14:39:02 -0800 Subject: [PATCH] line-log.c: make line_log_data_init() static No external callers exist. Signed-off-by: Junio C Hamano --- line-log.c | 2 +- line-log.h | 2 -- 2 files changed, 1 insertion(+), 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); -- 2.11.4.GIT