summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/rtems/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 /cpukit/posix/include/rtems/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 'cpukit/posix/include/rtems/posix')
-rw-r--r--cpukit/posix/include/rtems/posix/time.h11
1 files changed, 11 insertions, 0 deletions
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
*/