summaryrefslogtreecommitdiff
path: root/src/libgit2/threadstate.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-12-08 19:46:25 +0000
committerEdward Thomson <edward.thomson@vercel.com>2023-02-14 16:14:17 +0000
commit2aed803e7fbdf5ca3cb1eb1c74b16d5b5f2a38dc (patch)
tree13aae882a6157f12fa05d7f5334adbd28eb50673 /src/libgit2/threadstate.h
parent02a909f4a0d3f3da28e35bdf90c1f4598b76daf6 (diff)
downloadlibgit2-ethomson/tlsdata_fail.tar.gz
threadstate: don't use an unnecessary macroethomson/tlsdata_fail
Now that we've reduced the usage of GIT_THREADSTATE, remove it entirely in favor of git_threadstate_get().
Diffstat (limited to 'src/libgit2/threadstate.h')
-rw-r--r--src/libgit2/threadstate.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libgit2/threadstate.h b/src/libgit2/threadstate.h
index f9e7ba7bf..adc32cd00 100644
--- a/src/libgit2/threadstate.h
+++ b/src/libgit2/threadstate.h
@@ -19,6 +19,4 @@ typedef struct {
extern int git_threadstate_global_init(void);
extern git_threadstate *git_threadstate_get(void);
-#define GIT_THREADSTATE (git_threadstate_get())
-
#endif