Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-01-15 01:39:02 +0300
committerJunio C Hamano <gitster@pobox.com>2015-01-15 22:05:47 +0300
commit2b102efc8cd60730f044917d3aa68b3dd54d82d0 (patch)
tree5c877b422c1b03b13f2b68a92e328e2238705b0c
parentcb4680500a3e72e0d5811659f9e4f46c8df91696 (diff)
line-log.c: make line_log_data_init() static
No external callers exist. Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--line-log.c2
-rw-r--r--line-log.h2
2 files changed, 1 insertions, 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);