mirror of
https://github.com/git/git
synced 2024-11-05 04:53:18 +00:00
4711556905
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>
15 lines
347 B
C
15 lines
347 B
C
#ifndef MAILMAP_H
|
|
#define MAILMAP_H
|
|
|
|
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);
|
|
|
|
int map_user(struct string_list *map,
|
|
const char **email, size_t *emaillen, const char **name, size_t *namelen);
|
|
|
|
#endif
|