summaryrefslogtreecommitdiff
path: root/src/global.c
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-06-08 16:44:14 +0200
committerVicent Marti <vicent@github.com>2014-06-08 16:44:14 +0200
commit9560203d36647e6d3c0e089939ffe285cf21bf32 (patch)
tree84b41c3100b3ce52fbfee514891927a16f8594bb /src/global.c
parentdf192198d3ac2a2bd3d7960477e48602f648ec08 (diff)
parent1b4e29b7f68ce80bb01fd878f6ddc6cf20819581 (diff)
downloadlibgit2-9560203d36647e6d3c0e089939ffe285cf21bf32.tar.gz
Merge pull request #2409 from phkelley/win32_thread_fixes
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();