summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-09-30 09:20:08 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-09-30 09:20:08 +0200
commit886710b77e1ddfcff59bb6be1939752f1d56285c (patch)
treeb41923162836b440b41bc90201b6b4f616862c85 /src
parent25345c0cbe1493d63bbc9d309d7fcf0f84df741b (diff)
downloadlibgit2-886710b77e1ddfcff59bb6be1939752f1d56285c.tar.gz
describe: make mingw happy
The MinGW compiler does not like it when we declare a typedef twice.
Diffstat (limited to 'src')
-rw-r--r--src/describe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/describe.c b/src/describe.c
index afb2e2186..08c99a7d2 100644
--- a/src/describe.c
+++ b/src/describe.c
@@ -166,7 +166,7 @@ cleanup:
return error;
}
-typedef struct git_describe_result {
+struct git_describe_result {
int dirty;
int exact_match;
int fallback_to_id;
@@ -174,7 +174,7 @@ typedef struct git_describe_result {
git_repository *repo;
struct commit_name *name;
struct possible_tag *tag;
-} git_describe_result;
+};
struct get_name_data
{