K 10 svn:author V 3 dim K 8 svn:date V 27 2022-07-29T17:09:35.131926Z K 7 svn:log V 683 Adjust pcm_md_initialize() definition to avoid clang 15 warning With clang 15, the following -Werror warning is produced: sys/dev/hwpmc/hwpmc_x86.c:245:18: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] pcm_md_initialize() ^ void This is because pcm_md_initialize() 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 dc0cde7a21a6aab0a5e876d8f890764e32718932) Git Hash: 89029f10c35ccf9a35a009323d2bb237c4070b78 Git Author: dim@FreeBSD.org END