Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests: timers: fix declarations of main()

Mixing up argc/argv went unnoticed because they were not used. Still,
this is worth fixing.

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>

authored by

Wolfram Sang and committed by
Shuah Khan
a8d74fe7 9a162977

+4 -4
+1 -1
tools/testing/selftests/timers/adjtick.c
··· 165 165 return 0; 166 166 } 167 167 168 - int main(int argv, char **argc) 168 + int main(int argc, char **argv) 169 169 { 170 170 struct timespec raw; 171 171 long tick, max, interval, err;
+1 -1
tools/testing/selftests/timers/change_skew.c
··· 55 55 } 56 56 57 57 58 - int main(int argv, char **argc) 58 + int main(int argc, char **argv) 59 59 { 60 60 struct timex tx; 61 61 int i, ret;
+1 -1
tools/testing/selftests/timers/raw_skew.c
··· 89 89 } 90 90 } 91 91 92 - int main(int argv, char **argc) 92 + int main(int argc, char **argv) 93 93 { 94 94 struct timespec mon, raw, start, end; 95 95 long long delta1, delta2, interval, eppm, ppm;
+1 -1
tools/testing/selftests/timers/skew_consistency.c
··· 38 38 39 39 #define NSEC_PER_SEC 1000000000LL 40 40 41 - int main(int argv, char **argc) 41 + int main(int argc, char **argv) 42 42 { 43 43 struct timex tx; 44 44 int ret, ppm;