summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/include/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-03 17:32:19 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-03 17:32:19 +0000
commit5b748a177d0a4820f7409d3dcdb29a89c62bf802 (patch)
treec2f8d673c999a90a4ad83062051db7fdc99c609c /c/src/exec/posix/include/rtems
parentadded test code for nanosleep and return code from sleep. (diff)
downloadrtems-5b748a177d0a4820f7409d3dcdb29a89c62bf802.tar.bz2
renamed _POSIX_Time_Spec_to_interval to _POSIX_Timespec_to_interval
Diffstat (limited to 'c/src/exec/posix/include/rtems')
-rw-r--r--c/src/exec/posix/include/rtems/posix/time.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/c/src/exec/posix/include/rtems/posix/time.h b/c/src/exec/posix/include/rtems/posix/time.h
index eb48d2af5d..7b1f731428 100644
--- a/c/src/exec/posix/include/rtems/posix/time.h
+++ b/c/src/exec/posix/include/rtems/posix/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