commit | b4f17e5b4498740ae94af20f107122801ec397ac | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Sat Apr 20 23:44:54 2024 -0400 |
committer | Brad King <brad.king@kitware.com> | Mon Apr 22 09:51:41 2024 -0400 |
tree | 96cb9e04cb588ff1d46aac2bbf347cb9f1a42779 | |
parent | 26867ebc1b7f217bab36d859d74669d342198c42 [diff] |
FindThreads: Fix pthreads detection with -Wmissing-prototypes 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