K 10 svn:author V 3 dim K 8 svn:date V 27 2022-07-29T17:09:39.277968Z K 7 svn:log V 759 Adjust pmc_thread_descriptor_pool_drain() definition to avoid clang 15 warning With clang 15, the following -Werror warning is produced: sys/dev/hwpmc/hwpmc_mod.c:2462:33: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] pmc_thread_descriptor_pool_drain() ^ void This is because pmc_thread_descriptor_pool_drain() is declared with a (void) argument list, but defined with an empty argument list. Make the definition match the declaration. MFC after: 3 days (cherry picked from commit 555d2c9394fa673241fd26a95152adfb9d20952e) Git Hash: 207d91d4bf485e2a32861932cf1fc9732c55f863 Git Author: dim@FreeBSD.org END