summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-09-17 21:26:25 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-09-17 21:26:25 +0000
commitded66f8f41d68bf1dc9a05c83304c30e09149f63 (patch)
tree0c0d7e9157d90aaa6bfb6bdfa9d578734078e8e7 /c/src/exec/posix
parentFixed test to match change to pthread_cond_timedwait which now takes a wall (diff)
downloadrtems-ded66f8f41d68bf1dc9a05c83304c30e09149f63.tar.bz2
added prototype for _POSIX_Timespec_subtract
Diffstat (limited to 'c/src/exec/posix')
-rw-r--r--c/src/exec/posix/headers/time.h11
-rw-r--r--c/src/exec/posix/include/rtems/posix/time.h11
2 files changed, 22 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
*/