diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-03 17:32:19 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-03 17:32:19 +0000 |
commit | 5b748a177d0a4820f7409d3dcdb29a89c62bf802 (patch) | |
tree | c2f8d673c999a90a4ad83062051db7fdc99c609c /c/src/exec/posix/headers | |
parent | added test code for nanosleep and return code from sleep. (diff) | |
download | rtems-5b748a177d0a4820f7409d3dcdb29a89c62bf802.tar.bz2 |
renamed _POSIX_Time_Spec_to_interval to _POSIX_Timespec_to_interval
Diffstat (limited to 'c/src/exec/posix/headers')
-rw-r--r-- | c/src/exec/posix/headers/time.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/c/src/exec/posix/headers/time.h b/c/src/exec/posix/headers/time.h index eb48d2af5d..7b1f731428 100644 --- a/c/src/exec/posix/headers/time.h +++ b/c/src/exec/posix/headers/time.h @@ -18,8 +18,22 @@ (((1987 - 1970 + 1) * TOD_SECONDS_PER_NON_LEAP_YEAR) + \ (4 * TOD_SECONDS_PER_DAY)) -Watchdog_Interval _POSIX_Time_Spec_to_interval( +/* + * _POSIX_Timespec_to_interval + */ + +Watchdog_Interval _POSIX_Timespec_to_interval( const struct timespec *time ); +/*PAGE + * + * _POSIX_Interval_to_timespec + */ + +void _POSIX_Interval_to_timespec( + Watchdog_Interval ticks, + struct timespec *time +); + #endif |