forked from Imagelibrary/rtems
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).
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user