summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx05
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-09 07:23:32 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-09 07:23:32 +0200
commit6489bcbfeeb2d52100c738da4a48951a2ceec88a (patch)
tree891f5944d0694f9f5974bdc7e467d3ab596d3b00 /testsuites/psxtests/psx05
parentpc386/.../bspreset.c: Readd proper reset code. (diff)
downloadrtems-6489bcbfeeb2d52100c738da4a48951a2ceec88a.tar.bz2
psxtests/psx05: Fix timeout calculation
Update #3111.
Diffstat (limited to 'testsuites/psxtests/psx05')
-rw-r--r--testsuites/psxtests/psx05/init.c12
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;