Commit 2b102efc authored by Junio C Hamano's avatar Junio C Hamano

line-log.c: make line_log_data_init() static

No external callers exist.
Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
parent cb468050
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment