Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
line-log.c: make line_log_data_init() static
No external callers exist.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Jan 15, 2015
1 parent cb46805 commit 2b102ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion line-log.c
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions line-log.h
Expand Up @@ -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);
Expand Down

0 comments on commit 2b102ef

Please sign in to comment.