Re: [PATCH] xen: Remove the use of K&R functions

2023-02-16 Thread Jan Beulich
On 17.02.2023 00:17, Andrew Cooper wrote: > On 16/02/2023 11:02 pm, Andrew Cooper wrote: >> On 16/02/2023 10:44 pm, Andrew Cooper wrote: >>> Clang-15 (as seen in the FreeBSD 14 tests) complains: >>> >>> arch/x86/time.c:1364:20: error: a function declaration without a >>> prototype is deprecated

Re: [PATCH] xen: Remove the use of K&R functions

2023-02-16 Thread Andrew Cooper
On 16/02/2023 11:02 pm, Andrew Cooper wrote: > On 16/02/2023 10:44 pm, Andrew Cooper wrote: >> Clang-15 (as seen in the FreeBSD 14 tests) complains: >> >> arch/x86/time.c:1364:20: error: a function declaration without a >> prototype is deprecated in all versions of C [-Werror,-Wstrict-prototype

Re: [PATCH] xen: Remove the use of K&R functions

2023-02-16 Thread Andrew Cooper
On 16/02/2023 10:44 pm, Andrew Cooper wrote: > Clang-15 (as seen in the FreeBSD 14 tests) complains: > > arch/x86/time.c:1364:20: error: a function declaration without a > prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] > s_time_t get_s_time() >

[PATCH] xen: Remove the use of K&R functions

2023-02-16 Thread Andrew Cooper
Clang-15 (as seen in the FreeBSD 14 tests) complains: arch/x86/time.c:1364:20: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] s_time_t get_s_time() ^ void The error message is a bi