diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-09-30 09:20:08 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-09-30 09:20:08 +0200 |
commit | 886710b77e1ddfcff59bb6be1939752f1d56285c (patch) | |
tree | b41923162836b440b41bc90201b6b4f616862c85 /src | |
parent | 25345c0cbe1493d63bbc9d309d7fcf0f84df741b (diff) | |
download | libgit2-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.c | 4 |
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 { |