Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
line-log.c: make line_log_data_init() static
author
Junio C Hamano
<gitster@pobox.com>
Wed, 14 Jan 2015 22:39:02 +0000
(14:39 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 15 Jan 2015 19:05:47 +0000
(11:05 -0800)
No external callers exist.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
line-log.c
patch
|
blob
|
history
line-log.h
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
cb46805
)
diff --git
a/line-log.c
b/line-log.c
index b7864ad5869eb076e778c352e2f64666dc77a525..a490efea07519edb006e515c8a0fdf60241e546d 100644
(file)
--- 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 a9212d84e492304b4e57da1e0327189b3b6434ed..7a5c24e2df40c09274077928574bc91349d475d1 100644
(file)
--- 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);