summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/time01.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/time01.c')
-rw-r--r--testsuites/psxtests/psxhdrs/time01.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/time01.c b/testsuites/psxtests/psxhdrs/time01.c
index 221089374e..e3a0bd7177 100644
--- a/testsuites/psxtests/psxhdrs/time01.c
+++ b/testsuites/psxtests/psxhdrs/time01.c
@@ -18,11 +18,13 @@
#include <time.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
clock_t clock_ticks;
clock_ticks = clock();
+
+ return (clock_ticks != -1);
}