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/timer04.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 'testsuites/psxtests/psxhdrs/timer04.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/timer04.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/timer04.c b/testsuites/psxtests/psxhdrs/timer04.c index 0ad6bafe09..050482d374 100644 --- a/testsuites/psxtests/psxhdrs/timer04.c +++ b/testsuites/psxtests/psxhdrs/timer04.c @@ -22,13 +22,15 @@ #error "rtems is supposed to have timer_gettime" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { timer_t timerid = 0; struct itimerspec value; int result; result = timer_gettime( timerid, &value ); + + return result; } |