From: Junio C Hamano Date: Wed, 14 Jan 2015 23:40:47 GMT Subject: [PATCH 02/10] line-log.c: make line_log_data_init() static Message-ID: <1421278855-8126-3-git-send-email-gitster@pobox.com> In-Reply-To: <1421278855-8126-1-git-send-email-gitster@pobox.com> 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 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); diff --git a/line-log.h b/line-log.h index a9212d8..7a5c24e 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.3.0-rc0-134-g109a908