summaryrefslogtreecommitdiff
path: root/include/git2/threads.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2012-11-13 10:10:40 -0600
committerEdward Thomson <ethomson@edwardthomson.com>2012-11-13 10:23:05 -0600
commit7ebefd22e79e92542d68743af933c1a188f4d5a3 (patch)
tree91cc207a51ff097cb9e24ee690eaf3d5776f6e97 /include/git2/threads.h
parent603bee07918b50051d7bb45722932fc409b38a67 (diff)
downloadlibgit2-7ebefd22e79e92542d68743af933c1a188f4d5a3.tar.gz
move hash library func ptrs to global global
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.