summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/time06.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psxhdrs/time06.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/time06.c b/testsuites/psxtests/psxhdrs/time06.c
index 0f7f1cd38f..77ab5287fd 100644
--- a/testsuites/psxtests/psxhdrs/time06.c
+++ b/testsuites/psxtests/psxhdrs/time06.c
@@ -18,12 +18,14 @@
#include <time.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
char *buffer;
struct tm timestruct;
buffer = asctime( &timestruct );
+
+ return (buffer != NULL);
}