浏览代码

Merge topic 'check-pthreads-static'

b4f17e5b44 FindThreads: Fix pthreads detection with -Wmissing-prototypes

Acked-by: Kitware Robot <[email protected]>
Acked-by: buildbot <[email protected]>
Merge-request: !9449
Brad King 1 年之前
父节点
当前提交
9eb4ae4f64
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Modules/CheckForPthreads.c

+ 1 - 1
Modules/CheckForPthreads.c

@@ -1,6 +1,6 @@
 #include <pthread.h>
 
-void* start_routine(void* args)
+static void* start_routine(void* args)
 {
   return args;
 }