From 6489bcbfeeb2d52100c738da4a48951a2ceec88a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 9 Oct 2017 07:23:32 +0200 Subject: psxtests/psx05: Fix timeout calculation Update #3111. --- testsuites/psxtests/psx05/init.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/testsuites/psxtests/psx05/init.c b/testsuites/psxtests/psx05/init.c index 4da2673857..70e8d4a67d 100644 --- a/testsuites/psxtests/psx05/init.c +++ b/testsuites/psxtests/psx05/init.c @@ -29,12 +29,6 @@ void Print_mutexattr( pthread_mutexattr_t *attr ); -void calculate_abstimeout( - struct timespec *times, - uint32_t seconds, - uint32_t nanoseconds -); - void Print_mutexattr( char *msg, pthread_mutexattr_t *attr @@ -92,10 +86,10 @@ void Print_mutexattr( } } -void calculate_abstimeout( +static void calculate_abstimeout( struct timespec *times, - uint32_t seconds, - uint32_t nanoseconds + int seconds, + long nanoseconds ) { struct timeval tv1; -- cgit v1.2.3