diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/time02.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/time02.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/time02.c b/testsuites/psxtests/psxhdrs/time02.c index 768e2a547e..e4cc08f94c 100644 --- a/testsuites/psxtests/psxhdrs/time02.c +++ b/testsuites/psxtests/psxhdrs/time02.c @@ -18,9 +18,9 @@ #include <time.h> -void test( void ); +int test( void ); -void test( void ) +int test( void ) { time_t time1; time_t time2; @@ -30,4 +30,6 @@ void test( void ) time2 = 0; difference = difftime( time1, time2 ); + + return (difference != 0.0); } |