summaryrefslogtreecommitdiff
path: root/include/git2/threads.h
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2012-11-13 13:28:08 -0800
committerVicent Martí <vicent@github.com>2012-11-13 13:28:08 -0800
commit3741a37f5ee80d7475cdfedcd4de7d8ea64cf1e8 (patch)
tree8861ec34c51061c59ed2daf945d2b7cf77456fed /include/git2/threads.h
parent70572ff80b071aae5d6b398572e1aa0be45f6844 (diff)
parent2a612fe3c31f2c386236ccb1483741835a5db318 (diff)
downloadlibgit2-3741a37f5ee80d7475cdfedcd4de7d8ea64cf1e8.tar.gz
Merge pull request #1055 from ethomson/sha1_win32
Win32 CryptoAPI and CNG support for SHA1
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.