summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorNika Layzell <nika@thelayzells.com>2018-03-17 18:24:15 -0400
committerNika Layzell <nika@thelayzells.com>2018-06-14 22:43:27 -0700
commit4ff44be8ce36b345340eea962d9df8a595c1c0bf (patch)
tree8cbd47f5e47742140afc3ca168c19b54fd1b1544 /include/git2
parent983b8c2df818c92afa9b15041d3480b671b59a14 (diff)
downloadlibgit2-4ff44be8ce36b345340eea962d9df8a595c1c0bf.tar.gz
mailmap: Fix more bugs which snuck in when I rebased
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/mailmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/mailmap.h b/include/git2/mailmap.h
index a80ecb970..0c722b549 100644
--- a/include/git2/mailmap.h
+++ b/include/git2/mailmap.h
@@ -22,14 +22,14 @@ GIT_BEGIN_DECL
/**
* A single entry parsed from a mailmap.
*/
-struct git_mailmap_entry {
+typedef struct git_mailmap_entry {
unsigned int version;
const char *real_name; /**< the real name (may be NULL) */
const char *real_email; /**< the real email (may be NULL) */
const char *replace_name; /**< the name to replace (may be NULL) */
const char *replace_email; /**< the email to replace */
-};
+} git_mailmap_entry;
#define GIT_MAILMAP_ENTRY_VERSION 1
#define GIT_MAILMAP_ENTRY_INIT {GIT_MAILMAP_ENTRY_VERSION}