diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/clock01.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/clock01.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/clock01.c b/testsuites/psxtests/psxhdrs/clock01.c index 8992f971dd..522bb9a604 100644 --- a/testsuites/psxtests/psxhdrs/clock01.c +++ b/testsuites/psxtests/psxhdrs/clock01.c @@ -22,13 +22,15 @@ #error "rtems is supposed to have clock_gettime" #endif -void test( void ); +int test( void ); -void test( void ) +int test( void ) { clockid_t clock_id = 0; struct timespec tp; int result; result = clock_gettime( clock_id, &tp ); + + return result; } |