diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-09 07:23:32 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-09 07:23:32 +0200 |
commit | 6489bcbfeeb2d52100c738da4a48951a2ceec88a (patch) | |
tree | 891f5944d0694f9f5974bdc7e467d3ab596d3b00 /testsuites/psxtests/psx05 | |
parent | 19cbd1943da39c0bfc9236667edcfa717229bc8a (diff) |
psxtests/psx05: Fix timeout calculation
Update #3111.
Diffstat (limited to 'testsuites/psxtests/psx05')
-rw-r--r-- | testsuites/psxtests/psx05/init.c | 12 |
1 files 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; |