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>
This commit is contained in:
Wolfram Sang 2022-07-13 22:46:14 +02:00 committed by Shuah Khan
parent 9a162977d2
commit a8d74fe7fe
4 changed files with 4 additions and 4 deletions

View File

@ -165,7 +165,7 @@ int check_tick_adj(long tickval)
return 0;
}
int main(int argv, char **argc)
int main(int argc, char **argv)
{
struct timespec raw;
long tick, max, interval, err;

View File

@ -55,7 +55,7 @@ int change_skew_test(int ppm)
}
int main(int argv, char **argc)
int main(int argc, char **argv)
{
struct timex tx;
int i, ret;

View File

@ -89,7 +89,7 @@ void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw)
}
}
int main(int argv, char **argc)
int main(int argc, char **argv)
{
struct timespec mon, raw, start, end;
long long delta1, delta2, interval, eppm, ppm;

View File

@ -38,7 +38,7 @@
#define NSEC_PER_SEC 1000000000LL
int main(int argv, char **argc)
int main(int argc, char **argv)
{
struct timex tx;
int ret, ppm;