summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-11 21:11:22 -0800
committerJunio C Hamano <gitster@pobox.com>2010-01-12 01:06:09 -0800
commit42b3b0061478f262118036286455a8f09a0d3fff (patch)
treefeaba13eb8c782bcf164ae2c7042ab950086161d
parent5e133b8cf9b9b7f9483c47d19ffb40e10827ae51 (diff)
downloadgit-42b3b0061478f262118036286455a8f09a0d3fff.tar.gz
mailmap.c: remove unused function
map_email() is not used anywhere. Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--mailmap.c5
-rw-r--r--mailmap.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/mailmap.c b/mailmap.c
index f167c005bf..b68c1fec9c 100644
--- a/mailmap.c
+++ b/mailmap.c
@@ -243,8 +243,3 @@ int map_user(struct string_list *map,
debug_mm("map_user: --\n");
return 0;
}
-
-int map_email(struct string_list *map, const char *email, char *name, int maxlen)
-{
- return map_user(map, (char *)email, 0, name, maxlen);
-}
diff --git a/mailmap.h b/mailmap.h
index 4b2ca3a7de..d5c3664322 100644
--- a/mailmap.h
+++ b/mailmap.h
@@ -4,7 +4,6 @@
int read_mailmap(struct string_list *map, char **repo_abbrev);
void clear_mailmap(struct string_list *map);
-int map_email(struct string_list *mailmap, const char *email, char *name, int maxlen);
int map_user(struct string_list *mailmap,
char *email, int maxlen_email, char *name, int maxlen_name);