summaryrefslogtreecommitdiff
path: root/Modules/FindThreads.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindThreads.cmake')
-rw-r--r--Modules/FindThreads.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindThreads.cmake b/Modules/FindThreads.cmake
index ee498670f..e3e6591a3 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;
}