summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/timer07.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/timer07.c')
-rw-r--r--testsuites/psxtests/psxhdrs/timer07.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/timer07.c b/testsuites/psxtests/psxhdrs/timer07.c
index a349e08739..8d283e31c7 100644
--- a/testsuites/psxtests/psxhdrs/timer07.c
+++ b/testsuites/psxtests/psxhdrs/timer07.c
@@ -18,13 +18,15 @@
#include <unistd.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
useconds_t usec;
unsigned result;
usec = 0;
result = usleep( usec );
+
+ return result;
}