Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/libgc
diff options
context:
space:
mode:
authorVincent Povirk <vincent@codeweavers.com>2016-05-27 00:50:42 +0300
committerVincent Povirk <vincent@codeweavers.com>2016-05-27 00:50:42 +0300
commit0830b25dc35fe52936eb96e2d02118a5881ffcae (patch)
tree2781bc18cefe3f63508b1f437192e548bc5f1733 /libgc
parent5cb30c7c725a528be6cc24250ea7e4f21ed99df1 (diff)
[win32_threads] Mark an inline function as static.
If the C compiler decides not to inline the function, and it's not declared static, it'll look for an extern version, and linking will fail.
Diffstat (limited to 'libgc')
-rw-r--r--libgc/win32_threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgc/win32_threads.c b/libgc/win32_threads.c
index 16a6fb6d003..5533b8f2e25 100644
--- a/libgc/win32_threads.c
+++ b/libgc/win32_threads.c
@@ -184,7 +184,7 @@ static GC_thread GC_new_thread(void) {
#ifdef __GNUC__
__inline__
#endif
-LONG GC_get_max_thread_index()
+static LONG GC_get_max_thread_index()
{
LONG my_max = GC_max_thread_index;