summaryrefslogtreecommitdiff
path: root/src/global.c
diff options
context:
space:
mode:
authorPhilip Kelley <phkelley@microsoft.com>2014-06-07 12:51:48 -0400
committerPhilip Kelley <phkelley@microsoft.com>2014-06-07 12:51:48 -0400
commitfb5917679dd1cc0ee50d1d88893c07cbcd82471f (patch)
tree595d891671995f6eec41458ecea62e90eb3f7cac /src/global.c
parentdf192198d3ac2a2bd3d7960477e48602f648ec08 (diff)
downloadlibgit2-fb5917679dd1cc0ee50d1d88893c07cbcd82471f.tar.gz
Win32: Fix object::cache::threadmania test on x64
Diffstat (limited to 'src/global.c')
-rw-r--r--src/global.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/global.c b/src/global.c
index 7da31853e..1c4a7a1a9 100644
--- a/src/global.c
+++ b/src/global.c
@@ -78,7 +78,7 @@ static void git__shutdown(void)
static DWORD _tls_index;
static volatile LONG _mutex = 0;
-static int synchronized_threads_init()
+static int synchronized_threads_init(void)
{
int error;
@@ -112,7 +112,7 @@ int git_threads_init(void)
return error;
}
-static void synchronized_threads_shutdown()
+static void synchronized_threads_shutdown(void)
{
/* Shut down any subsystems that have global state */
git__shutdown();