diff options
author | Russell Belfer <rb@github.com> | 2014-02-20 11:00:31 -0800 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2014-02-20 11:00:31 -0800 |
commit | 978a4ed5ebd3892731434e4023f20383f820c112 (patch) | |
tree | f2e72dac977ca49d620a0db1cf3e416805e30c70 /include/git2 | |
parent | 2dc49ea93c5c320216806089fee579021f3ce9cf (diff) | |
download | libgit2-978a4ed5ebd3892731434e4023f20383f820c112.tar.gz |
Make git_oid_equal a non-inline API
Diffstat (limited to 'include/git2')
-rw-r--r-- | include/git2/oid.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/git2/oid.h b/include/git2/oid.h index 384b656d7..1cfd4e5e2 100644 --- a/include/git2/oid.h +++ b/include/git2/oid.h @@ -167,10 +167,7 @@ GIT_EXTERN(int) git_oid_cmp(const git_oid *a, const git_oid *b); * @param b second oid structure. * @return true if equal, false otherwise */ -GIT_INLINE(int) git_oid_equal(const git_oid *a, const git_oid *b) -{ - return !git_oid_cmp(a, b); -} +GIT_EXTERN(int) git_oid_equal(const git_oid *a, const git_oid *b); /** * Compare the first 'len' hexadecimal characters (packets of 4 bits) |