From ab7729747c4b55a93b8973e94429c747fe274529 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Sat, 5 Dec 2020 15:49:30 +0000 Subject: threads: give atomic functions the git_atomic prefix --- src/runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime.c') diff --git a/src/runtime.c b/src/runtime.c index 3fd064982..b61c3c4ba 100644 --- a/src/runtime.c +++ b/src/runtime.c @@ -37,7 +37,7 @@ static void shutdown_common(void) for (pos = git_atomic32_get(&shutdown_callback_count); pos > 0; pos = git_atomic32_dec(&shutdown_callback_count)) { - cb = git__swap(shutdown_callback[pos - 1], NULL); + cb = git_atomic_swap(shutdown_callback[pos - 1], NULL); if (cb != NULL) cb(); -- cgit v1.2.1