summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/clock02.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psxhdrs/clock02.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/clock02.c b/testsuites/psxtests/psxhdrs/clock02.c
index f07c206528..b9a9c465c8 100644
--- a/testsuites/psxtests/psxhdrs/clock02.c
+++ b/testsuites/psxtests/psxhdrs/clock02.c
@@ -22,13 +22,15 @@
#error "rtems is supposed to have clock_settime"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
clockid_t clock_id = 0;
struct timespec tp;
int result;
result = clock_settime( clock_id, &tp );
+
+ return result;
}