summaryrefslogtreecommitdiff
path: root/src/git_oid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/git_oid.h')
-rw-r--r--src/git_oid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/git_oid.h b/src/git_oid.h
index 30c62a2d5..9a9e5abd7 100644
--- a/src/git_oid.h
+++ b/src/git_oid.h
@@ -62,7 +62,7 @@ typedef struct
* needed for an oid encoded in hex (40 bytes).
* @return GIT_SUCCESS if valid; GIT_ENOTOID on failure.
*/
-GIT_EXTERN(git_result_t) git_oid_mkstr(git_oid_t *out, const char *str);
+GIT_EXTERN(int) git_oid_mkstr(git_oid_t *out, const char *str);
/**
* Copy an already raw oid into a git_oid structure.