aboutsummaryrefslogtreecommitdiffstats
path: root/mailmap.h
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-11 00:42:04 -0700
committerJunio C Hamano <gitster@pobox.com>2023-04-11 08:52:11 -0700
commit4711556905f381c01f1fbae205f67cfa673ab44a (patch)
tree70720cebdc365c27469222a31f1b93cc17bf66a1 /mailmap.h
parentb7b189cd5ae99f336c1185f8f8c27a118314ced1 (diff)
downloadgit-4711556905f381c01f1fbae205f67cfa673ab44a.tar.gz
mailmap, quote: move declarations of global vars to correct unit
Since earlier commits removed the inclusion of cache.h from mailmap.c and quote.c, it feels odd to have the extern declarations of global variables in cache.h rather than the actual header included by the source file. Move these global variable extern declarations from cache.h to mailmap.c and quote.c. Signed-off-by: Elijah Newren <newren@gmail.com> Acked-by: Calvin Wan <calvinwan@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mailmap.h')
-rw-r--r--mailmap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mailmap.h b/mailmap.h
index 7e99fccb46..0f8fd2c586 100644
--- a/mailmap.h
+++ b/mailmap.h
@@ -3,6 +3,9 @@
struct string_list;
+extern const char *git_mailmap_file;
+extern const char *git_mailmap_blob;
+
int read_mailmap(struct string_list *map);
void clear_mailmap(struct string_list *map);