K 10 svn:author V 3 dim K 8 svn:date V 27 2022-07-29T17:08:56.624380Z K 7 svn:log V 958 Adjust t4_tracer_mod{load,unload}() definitions to avoid clang 15 warnings With clang 15, the following -Werror warnings are produced: sys/dev/cxgbe/t4_tracer.c:234:18: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] t4_tracer_modload() ^ void sys/dev/cxgbe/t4_tracer.c:243:20: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] t4_tracer_modunload() ^ void This is because t4_tracer_modload() and t4_tracer_modunload() are declared with a (void) argument list, but defined with an empty argument list. Make the definitions match the declarations. MFC after: 3 days (cherry picked from commit 54e5efb2643ec5f4bf40fef2a1937cd5449a58a0) Git Hash: e5793e6e7fd9736662d0f073a0ca108bc3e4c751 Git Author: dim@FreeBSD.org END