summaryrefslogtreecommitdiff
path: root/tree-walk.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-05-13 14:50:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-05-13 14:50:32 (GMT)
commit4aeeef377347934d6f459e27f7d793de4ce384bb (patch)
treea8031c9623eac896bf474ba2158e39afc6abb5b3 /tree-walk.h
parent2bfb182bc544214b3a15058b52b3a00c9811e3c2 (diff)
parentad6dad0996f9226b2c3a5a3c725bf2952e52d7e7 (diff)
downloadgit-4aeeef377347934d6f459e27f7d793de4ce384bb.zip
git-4aeeef377347934d6f459e27f7d793de4ce384bb.tar.gz
git-4aeeef377347934d6f459e27f7d793de4ce384bb.tar.bz2
Merge branch 'dl/no-extern-in-func-decl'
Mechanically and systematically drop "extern" from function declarlation. * dl/no-extern-in-func-decl: *.[ch]: manually align parameter lists *.[ch]: remove extern from function declarations using sed *.[ch]: remove extern from function declarations using spatch
Diffstat (limited to 'tree-walk.h')
-rw-r--r--tree-walk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tree-walk.h b/tree-walk.h
index 3aa381b..161e240 100644
--- a/tree-walk.h
+++ b/tree-walk.h
@@ -67,8 +67,8 @@ struct traverse_info {
};
int get_tree_entry(const struct object_id *, const char *, struct object_id *, unsigned short *);
-extern char *make_traverse_path(char *path, const struct traverse_info *info, const struct name_entry *n);
-extern void setup_traverse_info(struct traverse_info *info, const char *base);
+char *make_traverse_path(char *path, const struct traverse_info *info, const struct name_entry *n);
+void setup_traverse_info(struct traverse_info *info, const char *base);
static inline int traverse_path_len(const struct traverse_info *info, const struct name_entry *n)
{