diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/time12.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/time12.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/time12.c b/testsuites/psxtests/psxhdrs/time12.c index b6113db0dd..02f436c6a7 100644 --- a/testsuites/psxtests/psxhdrs/time12.c +++ b/testsuites/psxtests/psxhdrs/time12.c @@ -18,13 +18,15 @@ #include <time.h> -void test( void ); +int test( void ); -void test( void ) +int test( void ) { time_t time; struct tm *timestruct_pointer; struct tm timestruct; timestruct_pointer = gmtime_r( &time, ×truct ); + + return (timestruct_pointer != NULL); } |