summaryrefslogtreecommitdiff
path: root/src/commit.h
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill@shutemov.name>2011-08-30 23:55:22 +0300
committerKirill A. Shutemov <kirill@shutemov.name>2011-08-30 23:55:22 +0300
commitd568d5856bcc4f283ae1dda0e27d680ee22fb067 (patch)
treeaf00ec95f08de8425111d3f57474b6ad63f826b1 /src/commit.h
parent51d0044629d0ac3e0f419910996c972b547f1156 (diff)
downloadlibgit2-d568d5856bcc4f283ae1dda0e27d680ee22fb067.tar.gz
CMakefile: add -Wmissing-prototypes and fix warnings
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Diffstat (limited to 'src/commit.h')
-rw-r--r--src/commit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commit.h b/src/commit.h
index ff2f28248..6d1caeeeb 100644
--- a/src/commit.h
+++ b/src/commit.h
@@ -24,4 +24,5 @@ struct git_commit {
void git_commit__free(git_commit *c);
int git_commit__parse(git_commit *commit, git_odb_object *obj);
+int git_commit__parse_buffer(git_commit *commit, const void *data, size_t len);
#endif