summaryrefslogtreecommitdiff
path: root/src/commit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commit.h')
-rw-r--r--src/commit.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/commit.h b/src/commit.h
index 1ab164c0b..0c2c3ab5d 100644
--- a/src/commit.h
+++ b/src/commit.h
@@ -27,8 +27,7 @@ struct git_commit {
char *message;
};
-void git_commit__free(git_commit *c);
-int git_commit__parse(git_commit *commit, git_odb_object *obj);
+void git_commit__free(void *commit);
+int git_commit__parse(void *commit, const char *buf, const char *bufend);
-int git_commit__parse_buffer(git_commit *commit, const void *data, size_t len);
#endif