summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/time03.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/time03.c')
-rw-r--r--testsuites/psxtests/psxhdrs/time03.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/time03.c b/testsuites/psxtests/psxhdrs/time03.c
index 969c115a9e..a3786132f1 100644
--- a/testsuites/psxtests/psxhdrs/time03.c
+++ b/testsuites/psxtests/psxhdrs/time03.c
@@ -18,9 +18,9 @@
#include <time.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
struct tm timestruct;
time_t time_encoded;
@@ -36,4 +36,6 @@ void test( void )
timestruct.tm_isdst = 0;
time_encoded = mktime( &timestruct );
+
+ return (time_encoded != -1);
}