summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-10-25 09:02:55 -0700
committerBen Straub <bs@github.com>2012-10-25 09:02:55 -0700
commit1fc375e6ef0d490305ef973278aa96756835b6a5 (patch)
treed359ab5a4da816ccba43a7e8116715045cf14725 /src
parent1eb8cd7f879dbd2fc3c3c0d341f4dd6ed636b97b (diff)
downloadlibgit2-1fc375e6ef0d490305ef973278aa96756835b6a5.tar.gz
Fix Windows build
Pedantic ordering of GIT_UNUSED vs. variable declarations.
Diffstat (limited to 'src')
-rw-r--r--src/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote.c b/src/remote.c
index cc18ea072..d268fd4c3 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -745,7 +745,7 @@ void git_remote_set_callbacks(git_remote *remote, git_remote_callbacks *callback
}
}
-inline const git_transfer_progress* git_remote_stats(git_remote *remote)
+GIT_INLINE(const git_transfer_progress*) git_remote_stats(git_remote *remote)
{
assert(remote);
return &remote->stats;