diff options
author | Cyril Hrubis <chrubis@suse.cz> | 2013-03-25 17:26:44 +0100 |
---|---|---|
committer | Cyril Hrubis <chrubis@suse.cz> | 2013-03-25 17:47:36 +0100 |
commit | 4ca2bbdcd3003f3c8df4e6129e9c7b2bd1514f87 (patch) | |
tree | b4a845a7a66716749499b5c06ccebf3e4950d187 /testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/20-1.c | |
parent | 8567638ab4af6643389714479977545ba780b762 (diff) | |
download | ltp-4ca2bbdcd3003f3c8df4e6129e9c7b2bd1514f87.tar.gz |
open_posix_testsuite/conformace/interfaces: Fix.
Change the main() and main(argc, argv) to main(void).
This fixes a lot of warnings in the latter case.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Diffstat (limited to 'testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/20-1.c')
-rw-r--r-- | testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/20-1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/20-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/20-1.c index efa19dbf0..947368459 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/20-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/20-1.c @@ -27,7 +27,7 @@ void *runner(void *arg) return NULL; } -int main() +int main(void) { int new_priority, max_priority, policy, result; struct sched_param param; |