userdiff.c: remove implicit dependency on the_index
[jc: squashed in missing forward decl in userdiff.h found by Ramsay] Helped-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
35843b1123
commit
acd00ea049
3
grep.h
3
grep.h
@ -220,7 +220,8 @@ void grep_source_init(struct grep_source *gs, enum grep_source_type type,
|
||||
const void *identifier);
|
||||
void grep_source_clear_data(struct grep_source *gs);
|
||||
void grep_source_clear(struct grep_source *gs);
|
||||
void grep_source_load_driver(struct grep_source *gs);
|
||||
void grep_source_load_driver(struct grep_source *gs,
|
||||
struct index_state *istate);
|
||||
|
||||
|
||||
int grep_source(struct grep_opt *opt, struct grep_source *gs);
|
||||
|
||||
Reference in New Issue
Block a user