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/sched08.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/sched08.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/sched08.c b/testsuites/psxtests/psxhdrs/sched08.c index 905728010a..da0af8ddc7 100644 --- a/testsuites/psxtests/psxhdrs/sched08.c +++ b/testsuites/psxtests/psxhdrs/sched08.c @@ -22,9 +22,9 @@ #error "rtems is supposed to have sched_rr_get_interval" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { pid_t pid; struct timespec interval; @@ -33,4 +33,6 @@ void test( void ) pid = 0; result = sched_rr_get_interval( pid, &interval ); + + return result; } |