diff options
author | 2022-07-13 22:46:13 +0200 | |
---|---|---|
committer | 2022-07-14 14:36:00 -0600 | |
commit | 9a162977d20436be5678a8e21a8e58eb4616d86a (patch) | |
tree | 01a1940d5a8b243b074d5eab7a162b76fb1a308d /net/unix/af_unix.c | |
parent | Makefile: add headers_install to kselftest targets (diff) | |
download | wireguard-linux-9a162977d20436be5678a8e21a8e58eb4616d86a.tar.xz wireguard-linux-9a162977d20436be5678a8e21a8e58eb4616d86a.zip |
selftests: timers: valid-adjtimex: build fix for newer toolchains
Toolchains with an include file 'sys/timex.h' based on 3.18 will have a
'clock_adjtime' definition added, so it can't be static in the code:
valid-adjtimex.c:43:12: error: static declaration of ‘clock_adjtime’ follows non-static declaration
Fixes: e03a58c320e1 ("kselftests: timers: Add adjtimex SETOFFSET validity tests")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: John Stultz <jstultz@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions