summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-06-30 11:20:23 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-03 10:42:54 -0700
commit9ab34f9e0586d4f7b73270bdd50f9a0be64514c1 (patch)
treeec96f6268f1a008a50c1df1376002d20c40bc264
parentblame.h: drop extern on func declaration (diff)
downloadtgif-9ab34f9e0586d4f7b73270bdd50f9a0be64514c1.tar.xz
cache-tree.h: drop extern from function declaration
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--cache-tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache-tree.h b/cache-tree.h
index cfd5328cc9..9799e894f7 100644
--- a/cache-tree.h
+++ b/cache-tree.h
@@ -51,6 +51,6 @@ int write_index_as_tree(struct object_id *oid, struct index_state *index_state,
int write_cache_as_tree(struct object_id *oid, int flags, const char *prefix);
void prime_cache_tree(struct index_state *, struct tree *);
-extern int cache_tree_matches_traversal(struct cache_tree *, struct name_entry *ent, struct traverse_info *info);
+int cache_tree_matches_traversal(struct cache_tree *, struct name_entry *ent, struct traverse_info *info);
#endif