diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2014-10-12 11:42:31 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-03-11 02:36:11 +0100 |
| commit | b63b76e0b0b658dff328e0d9e109ce040830786c (patch) | |
| tree | 1c7ed9c1c0c6df008f10df0bd7feecc0e77631b3 /src/revwalk.c | |
| parent | c23f90053ddc10e7dbf0f99aabd5e13b0f317a42 (diff) | |
| download | libgit2-b63b76e0b0b658dff328e0d9e109ce040830786c.tar.gz | |
Reorder some khash declarations
Keep the definitions in the headers, while putting the declarations in
the C files. Putting the function definitions in headers causes
them to be duplicated if you include two headers with them.
Diffstat (limited to 'src/revwalk.c')
| -rw-r--r-- | src/revwalk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/revwalk.c b/src/revwalk.c index 2ba000c6b..a6d823ec8 100644 --- a/src/revwalk.c +++ b/src/revwalk.c @@ -14,6 +14,8 @@ #include "git2/revparse.h" #include "merge.h" +GIT__USE_OIDMAP; + git_commit_list_node *git_revwalk__commit_lookup( git_revwalk *walk, const git_oid *oid) { |
