diff options
| author | Ben Straub <bs@github.com> | 2012-11-20 16:02:25 -0800 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2012-11-27 13:18:28 -0800 |
| commit | 54b2a37ac7715c74e5b06b76eb2b631987d7b6f8 (patch) | |
| tree | e2f7441735a506de16b411a3c181a76f264c2bab /src/vector.h | |
| parent | eecc80502975df5ef3aa9027d1b8b929cd6181bd (diff) | |
| download | libgit2-54b2a37ac7715c74e5b06b76eb2b631987d7b6f8.tar.gz | |
Clean up config.h
Diffstat (limited to 'src/vector.h')
| -rw-r--r-- | src/vector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vector.h b/src/vector.h index 6d820b8fc..46129f17b 100644 --- a/src/vector.h +++ b/src/vector.h @@ -55,7 +55,7 @@ GIT_INLINE(int) git_vector_bsearch2( return git_vector_bsearch3(NULL, v, cmp, key); } -GIT_INLINE(void *) git_vector_get(git_vector *v, size_t position) +GIT_INLINE(void *) git_vector_get(const git_vector *v, size_t position) { return (position < v->length) ? v->contents[position] : NULL; } |
