summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/timer05.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-10-12 04:15:32 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-10-12 04:15:32 +0000
commite7edd55890b554ca0db49403153d6d617d3081a8 (patch)
tree391606acccc0b4c1341b331a6390f878dec217b7 /testsuites/psxtests/psxhdrs/timer05.c
parent2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-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/timer05.c')
-rw-r--r--testsuites/psxtests/psxhdrs/timer05.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/timer05.c b/testsuites/psxtests/psxhdrs/timer05.c
index ba30fe7240..47b2613d4d 100644
--- a/testsuites/psxtests/psxhdrs/timer05.c
+++ b/testsuites/psxtests/psxhdrs/timer05.c
@@ -22,12 +22,14 @@
#error "rtems is supposed to have timer_getoverrun"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
timer_t timerid = 0;
int result;
result = timer_getoverrun( timerid );
+
+ return result;
}