opnsense-src/sys/x86/linux
Dimitry Andric aad14bc54d 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

(cherry picked from commit eadef926b0)
2022-07-27 21:17:22 +02:00
..
linux_dummy_x86.c Drop "All rights reserved" from my copyright statements. 2022-06-17 22:33:09 +03:00
linux_vdso_getcpu_x86.inc linux(4): Implement vdso getcpu for x86. 2022-06-17 22:35:00 +03:00
linux_vdso_gettc_x86.inc linux(4): Refactor vdso_gettc_x86 includes. 2022-06-17 22:34:59 +03:00
linux_vdso_selector_x86.c Adjust linux_vdso_{cpu,tsc}_selector_idx() definitions to avoid clang 15 warnings 2022-07-27 21:17:22 +02:00
linux_x86.c linux(4): Deduplicate bsd_to_linux_trapcode() 2022-06-17 22:35:28 +03:00
linux_x86.h linux(4): Deduplicate bsd_to_linux_trapcode() 2022-06-17 22:35:28 +03:00
linux_x86_sigframe.h linux(4): Properly restore the thread signal mask after signal delivery on i386 2022-06-17 22:35:40 +03:00