diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-17 09:53:17 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-17 09:53:17 +0000 |
commit | d80b196e4c758df18286663fca3eebc0d1add122 (patch) | |
tree | 112e478687cda52fc13de64c7f878160138b428c /testsuites/psxtests/psxhdrs/sched03.c | |
parent | 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-d80b196e4c758df18286663fca3eebc0d1add122.tar.bz2 |
2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/sched01.c, psxhdrs/sched02.c, psxhdrs/sched03.c,
psxhdrs/sched04.c, psxhdrs/sched05.c, psxhdrs/sched06.c,
psxhdrs/sched07.c, psxhdrs/sched08.c:
Let test() return values (avoid warnings).
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psxhdrs/sched03.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/sched03.c b/testsuites/psxtests/psxhdrs/sched03.c index 6f23501b65..fa7d19f878 100644 --- a/testsuites/psxtests/psxhdrs/sched03.c +++ b/testsuites/psxtests/psxhdrs/sched03.c @@ -22,9 +22,9 @@ #error "rtems is supposed to have sched_setscheduler" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pid_t pid; int policy; @@ -54,4 +54,6 @@ void test( void ) #endif result = sched_setscheduler( pid, policy, ¶m ); + + return result; } |