diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-09-17 21:26:25 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-09-17 21:26:25 +0000 |
commit | ded66f8f41d68bf1dc9a05c83304c30e09149f63 (patch) | |
tree | 0c0d7e9157d90aaa6bfb6bdfa9d578734078e8e7 | |
parent | Fixed test to match change to pthread_cond_timedwait which now takes a wall (diff) | |
download | rtems-ded66f8f41d68bf1dc9a05c83304c30e09149f63.tar.bz2 |
added prototype for _POSIX_Timespec_subtract
-rw-r--r-- | c/src/exec/posix/headers/time.h | 11 | ||||
-rw-r--r-- | c/src/exec/posix/include/rtems/posix/time.h | 11 | ||||
-rw-r--r-- | cpukit/posix/include/rtems/posix/time.h | 11 |
3 files changed, 33 insertions, 0 deletions
diff --git a/c/src/exec/posix/headers/time.h b/c/src/exec/posix/headers/time.h index 7b1f731428..0e87db388e 100644 --- a/c/src/exec/posix/headers/time.h +++ b/c/src/exec/posix/headers/time.h @@ -18,6 +18,17 @@ (((1987 - 1970 + 1) * TOD_SECONDS_PER_NON_LEAP_YEAR) + \ (4 * TOD_SECONDS_PER_DAY)) +/*PAGE + * + * _POSIX_Timespec_subtract + */ + +void _POSIX_Timespec_subtract( + const struct timespec *the_start, + const struct timespec *end, + struct timespec *result +); + /* * _POSIX_Timespec_to_interval */ diff --git a/c/src/exec/posix/include/rtems/posix/time.h b/c/src/exec/posix/include/rtems/posix/time.h index 7b1f731428..0e87db388e 100644 --- a/c/src/exec/posix/include/rtems/posix/time.h +++ b/c/src/exec/posix/include/rtems/posix/time.h @@ -18,6 +18,17 @@ (((1987 - 1970 + 1) * TOD_SECONDS_PER_NON_LEAP_YEAR) + \ (4 * TOD_SECONDS_PER_DAY)) +/*PAGE + * + * _POSIX_Timespec_subtract + */ + +void _POSIX_Timespec_subtract( + const struct timespec *the_start, + const struct timespec *end, + struct timespec *result +); + /* * _POSIX_Timespec_to_interval */ diff --git a/cpukit/posix/include/rtems/posix/time.h b/cpukit/posix/include/rtems/posix/time.h index 7b1f731428..0e87db388e 100644 --- a/cpukit/posix/include/rtems/posix/time.h +++ b/cpukit/posix/include/rtems/posix/time.h @@ -18,6 +18,17 @@ (((1987 - 1970 + 1) * TOD_SECONDS_PER_NON_LEAP_YEAR) + \ (4 * TOD_SECONDS_PER_DAY)) +/*PAGE + * + * _POSIX_Timespec_subtract + */ + +void _POSIX_Timespec_subtract( + const struct timespec *the_start, + const struct timespec *end, + struct timespec *result +); + /* * _POSIX_Timespec_to_interval */ |