summaryrefslogtreecommitdiff
path: root/PACE/pace/posix/time.inl
diff options
context:
space:
mode:
authorjwh1 <jwh1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-06 04:42:45 +0000
committerjwh1 <jwh1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-06 04:42:45 +0000
commit68121b2ab9693f5336363d66b807af5d5e61cbc3 (patch)
tree7d75a942c12f5f8c1a8a25afa674951635bb892a /PACE/pace/posix/time.inl
parent79bdafc91f9edbf5cfaac5f420c30b204e95afa1 (diff)
downloadATCD-68121b2ab9693f5336363d66b807af5d5e61cbc3.tar.gz
Wed Jul 5 13:38:11 2000 John Heitmann <jwh1@cs.wustl.edu>
Diffstat (limited to 'PACE/pace/posix/time.inl')
-rw-r--r--PACE/pace/posix/time.inl5
1 files changed, 5 insertions, 0 deletions
diff --git a/PACE/pace/posix/time.inl b/PACE/pace/posix/time.inl
index b3b68996aca..e2af831bbfd 100644
--- a/PACE/pace/posix/time.inl
+++ b/PACE/pace/posix/time.inl
@@ -72,7 +72,12 @@ int
pace_clock_settime (clockid_t clock_id,
const struct timespec * tp)
{
+#if PACE_HAS_POSIX == PACE_LYNXOS
+ /* Cast away const for Lynx prototype compatability. */
+ return clock_settime (clock_id, (struct timespec *) tp);
+#else
return clock_settime (clock_id, tp);
+#endif /* PACE_LYNXOS */
}
PACE_INLINE