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/sched05.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 'testsuites/psxtests/psxhdrs/sched05.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/sched05.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/sched05.c b/testsuites/psxtests/psxhdrs/sched05.c index 8b54d42c68..ca531d7e62 100644 --- a/testsuites/psxtests/psxhdrs/sched05.c +++ b/testsuites/psxtests/psxhdrs/sched05.c @@ -22,11 +22,13 @@ #error "rtems is supposed to have sched_yield" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { int result; result = sched_yield(); + + return result; } |