Skip to content

FindThreads: Fix pthreads detection with -Wmissing-prototypes

David Benjamin requested to merge davidben/cmake:check-pthreads-static into master

If the project builds with -Wmissing-prototypes to catch unnecessarily exported symbols, CheckForPthreads.c will fail to build. Fix this by marking start_routine as static.

Fixes: #25886 (closed)

Merge request reports