freebsd-dev/sys/x86/linux
Dimitry Andric eadef926b0 Adjust linux_vdso_{cpu,tsc}_selector_idx() definitions to avoid clang 15 warnings
With clang 15, the following -Werror warnings are produced:

    sys/x86/linux/linux_vdso_selector_x86.c:44:28: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    linux_vdso_tsc_selector_idx()
                               ^
                                void
    sys/x86/linux/linux_vdso_selector_x86.c:62:28: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    linux_vdso_cpu_selector_idx()
                               ^
                                void

This is because linux_vdso_tsc_selector_idx() and
linux_vdso_cpu_selector_idx are declared with (void) argument lists, but
defined with empty argument lists. Make the definitions match the
declarations.

MFC after:	3 days
2022-07-25 00:40:13 +02:00
..
linux_dummy_x86.c Drop "All rights reserved" from my copyright statements. 2021-07-20 10:05:50 +03:00
linux_vdso_getcpu_x86.inc linux(4): Implement vdso getcpu for x86. 2022-05-08 17:20:52 +03:00
linux_vdso_gettc_x86.inc linux(4): Refactor vdso_gettc_x86 includes. 2022-05-08 17:20:51 +03:00
linux_vdso_selector_x86.c Adjust linux_vdso_{cpu,tsc}_selector_idx() definitions to avoid clang 15 warnings 2022-07-25 00:40:13 +02:00
linux_x86_sigframe.h linux(4): Properly restore the thread signal mask after signal delivery on i386 2022-05-30 20:03:49 +03:00
linux_x86.c linux(4): Deduplicate bsd_to_linux_trapcode() 2022-05-23 13:16:58 +03:00
linux_x86.h linux(4): Deduplicate bsd_to_linux_trapcode() 2022-05-23 13:16:58 +03:00