summaryrefslogtreecommitdiff
path: root/include/git2/threads.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/threads.h')
-rw-r--r--include/git2/threads.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/git2/threads.h b/include/git2/threads.h
index 567a10487..f448f6a4d 100644
--- a/include/git2/threads.h
+++ b/include/git2/threads.h
@@ -27,8 +27,10 @@ GIT_BEGIN_DECL
*
* If libgit2 has been built without GIT_THREADS
* support, this function is a no-op.
+ *
+ * @return 0 or an error code
*/
-GIT_EXTERN(void) git_threads_init(void);
+GIT_EXTERN(int) git_threads_init(void);
/**
* Shutdown the threading system.