summaryrefslogtreecommitdiff
path: root/src/repository.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-04-02 12:42:04 +0300
committerVicent Marti <tanoku@gmail.com>2011-04-02 12:42:04 +0300
commit720d5472f8aa629161749450a27d3a4e3ecefea3 (patch)
treeb591a0f297492ee99f68fb5b512f932f8c0c9b8a /src/repository.h
parentd8ad64d3669182d368120a9b8db1147421498e22 (diff)
downloadlibgit2-720d5472f8aa629161749450a27d3a4e3ecefea3.tar.gz
Change `parse` methods to const buffer
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/repository.h')
-rw-r--r--src/repository.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.h b/src/repository.h
index fef1c7da0..813cac942 100644
--- a/src/repository.h
+++ b/src/repository.h
@@ -43,7 +43,7 @@ struct git_repository {
* export */
void git_object__free(void *object);
-int git__parse_oid(git_oid *oid, char **buffer_out, const char *buffer_end, const char *header);
+int git__parse_oid(git_oid *oid, const char **buffer_out, const char *buffer_end, const char *header);
int git__write_oid(git_odb_stream *src, const char *header, const git_oid *oid);
#endif