diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/time11.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/time11.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/time11.c b/testsuites/psxtests/psxhdrs/time11.c index 67b5330723..e9c9380b1c 100644 --- a/testsuites/psxtests/psxhdrs/time11.c +++ b/testsuites/psxtests/psxhdrs/time11.c @@ -18,13 +18,15 @@ #include <time.h> -void test( void ); +int test( void ); -void test( void ) +int test( void ) { char *buffer_pointer; char buffer[ 80 ]; time_t time; buffer_pointer = ctime_r( &time, buffer ); + + return (buffer_pointer != NULL); } |