diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-12 04:15:32 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-10-12 04:15:32 +0000 |
commit | e7edd55890b554ca0db49403153d6d617d3081a8 (patch) | |
tree | 391606acccc0b4c1341b331a6390f878dec217b7 /testsuites/psxtests/psxhdrs/timer07.c | |
parent | 2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-e7edd55890b554ca0db49403153d6d617d3081a8.tar.bz2 |
2011-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/timer01.c, psxhdrs/timer02.c, psxhdrs/timer03.c,
psxhdrs/timer04.c, psxhdrs/timer05.c, psxhdrs/timer06.c,
psxhdrs/timer07.c: Let test() return values (avoid warnings).
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psxhdrs/timer07.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/timer07.c b/testsuites/psxtests/psxhdrs/timer07.c index a349e08739..8d283e31c7 100644 --- a/testsuites/psxtests/psxhdrs/timer07.c +++ b/testsuites/psxtests/psxhdrs/timer07.c @@ -18,13 +18,15 @@ #include <unistd.h> -void test( void ); +int test( void ); -void test( void ) +int test( void ) { useconds_t usec; unsigned result; usec = 0; result = usleep( usec ); + + return result; } |