summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/FindThreads.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindThreads.cmake b/Modules/FindThreads.cmake
index ee49867..e3e6591 100644
--- a/Modules/FindThreads.cmake
+++ b/Modules/FindThreads.cmake
@@ -66,7 +66,7 @@ endif()
set(PTHREAD_C_CXX_TEST_SOURCE [====[
#include <pthread.h>
-void* test_func(void* data)
+static void* test_func(void* data)
{
return data;
}