From 21789a2117f7485000e0d88c3f76a6b9d507bb5a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 28 Jul 2015 14:45:42 +0200 Subject: score: Rename _POSIX_Absolute_timeout_to_ticks() Rename _POSIX_Absolute_timeout_to_ticks() to _TOD_Absolute_timeout_to_ticks() and move it to the score directory. Delete empty . --- cpukit/posix/src/condtimedwait.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'cpukit/posix/src/condtimedwait.c') diff --git a/cpukit/posix/src/condtimedwait.c b/cpukit/posix/src/condtimedwait.c index 191a09fb46..3c978e41b8 100644 --- a/cpukit/posix/src/condtimedwait.c +++ b/cpukit/posix/src/condtimedwait.c @@ -22,9 +22,8 @@ #include #include -#include +#include #include -#include #include /* @@ -39,7 +38,7 @@ int pthread_cond_timedwait( { Watchdog_Interval ticks; bool already_timedout; - POSIX_Absolute_timeout_conversion_results_t status; + TOD_Absolute_timeout_conversion_results status; /* * POSIX requires that blocking calls with timeouts that take @@ -51,12 +50,12 @@ int pthread_cond_timedwait( * status into the appropriate error. */ already_timedout = false; - status = _POSIX_Absolute_timeout_to_ticks(abstime, &ticks); - if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID ) + status = _TOD_Absolute_timeout_to_ticks(abstime, &ticks); + if ( status == TOD_ABSOLUTE_TIMEOUT_INVALID ) return EINVAL; - if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST || - status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW ) + if ( status == TOD_ABSOLUTE_TIMEOUT_IS_IN_PAST || + status == TOD_ABSOLUTE_TIMEOUT_IS_NOW ) already_timedout = true; return _POSIX_Condition_variables_Wait_support( -- cgit v1.2.3