From 7ebefd22e79e92542d68743af933c1a188f4d5a3 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Tue, 13 Nov 2012 10:10:40 -0600 Subject: move hash library func ptrs to global global --- include/git2/threads.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/git2/threads.h') 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. -- cgit v1.2.1