]> git.ipfire.org Git - thirdparty/git.git/blobdiff - commit.h
sha256: add an SHA-256 implementation using libgcrypt
[thirdparty/git.git] / commit.h
index e2c99d9b04f6b2b841c94524e4c56c34d89b282c..2b1a73438873f20e2c9e570121a2e024d7762fbe 100644 (file)
--- a/commit.h
+++ b/commit.h
@@ -293,7 +293,7 @@ extern const char *find_commit_header(const char *msg, const char *key,
                                      size_t *out_len);
 
 /* Find the end of the log message, the right place for a new trailer. */
-extern int ignore_non_trailer(const char *buf, size_t len);
+extern size_t ignore_non_trailer(const char *buf, size_t len);
 
 typedef int (*each_mergetag_fn)(struct commit *commit, struct commit_extra_header *extra,
                                 void *cb_data);