mirror of
https://github.com/opnsense/src.git
synced 2026-02-21 00:40:33 -05:00
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
|
||
|---|---|---|
| .. | ||
| linux_dummy_x86.c | ||
| linux_vdso_getcpu_x86.inc | ||
| linux_vdso_gettc_x86.inc | ||
| linux_vdso_selector_x86.c | ||
| linux_x86.c | ||
| linux_x86.h | ||
| linux_x86_sigframe.h | ||