summaryrefslogtreecommitdiff
path: root/include/git2/threads.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-10-23 17:34:41 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-11-08 23:46:39 +0100
commit799e22ea0c3f20f1900011573a10053dc3ea9138 (patch)
tree43af7e21e2872ee3b83a1478ceb75b068b100a1c /include/git2/threads.h
parent4865cc3f0631a8a4e0e1de897865df0e552c70cb (diff)
downloadlibgit2-799e22ea0c3f20f1900011573a10053dc3ea9138.tar.gz
Rename git_threads_ to git_libgit2_
This describes their purpose better, as we now initialize ssl and some other global stuff in there. Calling the init function is not something which has been optional for a while now.
Diffstat (limited to 'include/git2/threads.h')
-rw-r--r--include/git2/threads.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/include/git2/threads.h b/include/git2/threads.h
index 6b4287033..c0c3898d9 100644
--- a/include/git2/threads.h
+++ b/include/git2/threads.h
@@ -19,32 +19,6 @@
GIT_BEGIN_DECL
/**
- * Init the threading system.
- *
- * If libgit2 has been built with GIT_THREADS
- * on, this function must be called once before
- * any other library functions.
- *
- * If libgit2 has been built without GIT_THREADS
- * support, this function is a no-op.
- *
- * @return 0 or an error code
- */
-GIT_EXTERN(int) git_threads_init(void);
-
-/**
- * Shutdown the threading system.
- *
- * If libgit2 has been built with GIT_THREADS
- * on, this function must be called before shutting
- * down the library.
- *
- * If libgit2 has been built without GIT_THREADS
- * support, this function is a no-op.
- */
-GIT_EXTERN(void) git_threads_shutdown(void);
-
-/**
* Initialize the OpenSSL locks
*
* OpenSSL requires the application to determine how it performs