Commit 246bc3ccfe24f6c4ab5b866f77f7bf30791dec2e

Edward Thomson 2020-10-14T15:05:11

threadstate: rename tlsdata when building w/o threads

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/threadstate.c b/src/threadstate.c
index 8e17124..1c5ac60 100644
--- a/src/threadstate.c
+++ b/src/threadstate.c
@@ -135,7 +135,7 @@ static void git_threadstate_global_shutdown(void)
 
 int git_threadstate_global_init(void)
 {
-	return git_runtime_shutdown_register(git_tlsdata_global_shutdown);
+	return git_runtime_shutdown_register(git_threadstate_global_shutdown);
 }
 
 git_threadstate *git_threadstate_get(void)