mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 05:32:00 +00:00
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:
parent
9a162977d2
commit
a8d74fe7fe
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user