opnsense-src/sys/dev/hwpmc
Andrew Turner 1570048c52 Adjust function definition in hwpmc to avoid clang 15 warning
With clang 15, the following -Werror warning is produced:

    sys/dev/hwpmc/hwpmc_arm64.c:530:21: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    pmc_arm64_initialize()
                        ^
                         void

This is because many of the functions are declared with a (void)
argument list, but defined with an empty argument list. Make the
definition match the declaration.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 05cef74742)
2022-08-22 10:11:29 +01:00
..
hwpmc_amd.c hwpmc: don't validate capabilities in allocation method 2022-07-05 12:39:02 -04:00
hwpmc_amd.h
hwpmc_arm.c Adjust function definition in hwpmc to avoid clang 15 warning 2022-08-22 10:11:29 +01:00
hwpmc_arm64.c Adjust function definition in hwpmc to avoid clang 15 warning 2022-08-22 10:11:29 +01:00
hwpmc_arm64.h arm64: Fix finding the pmc event ID 2021-07-29 12:00:37 -03:00
hwpmc_arm64_md.c Adjust function definition in hwpmc to avoid clang 15 warning 2022-08-22 10:11:29 +01:00
hwpmc_armv7.c Adjust function definition in hwpmc to avoid clang 15 warning 2022-08-22 10:11:29 +01:00
hwpmc_armv7.h
hwpmc_beri.c
hwpmc_beri.h
hwpmc_core.c hwpmc: don't validate capabilities in allocation method 2022-07-05 12:39:02 -04:00
hwpmc_core.h hwpmc: Bump Intel's IA32_PERFEVTSELx width to 64 bits. 2022-07-04 13:48:10 -04:00
hwpmc_e500.c hwpmc: consistently validate PMC class in allocation method 2022-07-05 12:38:52 -04:00
hwpmc_intel.c hwpmc: Add IDs for few more Intel Atom CPUs. 2022-07-04 13:48:10 -04:00
hwpmc_logging.c Adjust pcmlog_{initialize,shutdown}() definitions to avoid clang 15 warning 2022-07-24 13:00:07 +02:00
hwpmc_mips.c
hwpmc_mips24k.c
hwpmc_mips74k.c
hwpmc_mod.c Adjust pmc_thread_descriptor_pool_drain() definition to avoid clang 15 warning 2022-07-24 13:00:08 +02:00
hwpmc_mpc7xxx.c hwpmc: consistently validate PMC class in allocation method 2022-07-05 12:38:52 -04:00
hwpmc_octeon.c
hwpmc_power8.c
hwpmc_powerpc.c Adjust function definition in hwpmc to avoid clang 15 warning 2022-08-22 10:11:29 +01:00
hwpmc_powerpc.h hwpmc: consistently validate PMC class in allocation method 2022-07-05 12:38:52 -04:00
hwpmc_ppc970.c hwpmc: consistently validate PMC class in allocation method 2022-07-05 12:38:52 -04:00
hwpmc_riscv.h
hwpmc_soft.c hwpmc: mostly clean up cc --analyze 2021-07-25 07:00:05 +00:00
hwpmc_soft.h
hwpmc_tsc.c hwpmc: don't validate capabilities in allocation method 2022-07-05 12:39:02 -04:00
hwpmc_tsc.h
hwpmc_uncore.c hwpmc: don't validate capabilities in allocation method 2022-07-05 12:39:02 -04:00
hwpmc_uncore.h hwpmc: Bump Intel's IA32_PERFEVTSELx width to 64 bits. 2022-07-04 13:48:10 -04:00
hwpmc_x86.c Adjust pcm_md_initialize() definition to avoid clang 15 warning 2022-07-24 13:00:08 +02:00
pmc_events.h libpmc: fix the 'cycles' event alias on x86 2021-10-15 12:21:35 -03:00