summaryrefslogtreecommitdiff
path: root/PACE/pace
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
parent79bdafc91f9edbf5cfaac5f420c30b204e95afa1 (diff)
downloadATCD-68121b2ab9693f5336363d66b807af5d5e61cbc3.tar.gz
Wed Jul 5 13:38:11 2000 John Heitmann <jwh1@cs.wustl.edu>
Diffstat (limited to 'PACE/pace')
-rw-r--r--PACE/pace/posix/termios.h3
-rw-r--r--PACE/pace/posix/termios.inl14
-rw-r--r--PACE/pace/posix/time.inl5
-rw-r--r--PACE/pace/posix/types.h1
4 files changed, 7 insertions, 16 deletions
diff --git a/PACE/pace/posix/termios.h b/PACE/pace/posix/termios.h
index 27c5b593c46..39171ce827a 100644
--- a/PACE/pace/posix/termios.h
+++ b/PACE/pace/posix/termios.h
@@ -40,7 +40,7 @@ typedef tcflag_t pace_tcflag_t;
#ifndef PACE_TERMIOS
#define PACE_TERMIOS
-typedef structtermios pace_termios;
+typedef struct termios pace_termios;
#endif /* PACE_TERMIOS */
@@ -66,7 +66,6 @@ typedef structtermios pace_termios;
int optional_actions,
const pace_termios * termios_p);
- PACE_INLINE int pace_tcsetpgrp (int fildes, pace_pid_t pgrp_id);
#if defined (PACE_HAS_CPLUSPLUS)
}
diff --git a/PACE/pace/posix/termios.inl b/PACE/pace/posix/termios.inl
index 7fe53edcf55..a762fc18f98 100644
--- a/PACE/pace/posix/termios.inl
+++ b/PACE/pace/posix/termios.inl
@@ -72,13 +72,6 @@ pace_tcflush (int fildes, int queue_selector)
}
PACE_INLINE
-pace_pid_t
-pace_tcgetpgrp (int fildes)
-{
- return tcgetpgrp (fildes);
-}
-
-PACE_INLINE
int
pace_tcsendbreak (int fildes, int duration)
{
@@ -93,10 +86,3 @@ pace_tcsetattr (int fildes,
{
return tcsetattr (fildes, optional_actions, termios_p);
}
-
-PACE_INLINE
-int
-pace_tcsetpgrp (int fildes, pace_pid_t pgrp_id)
-{
- return tcsetpgrp (fildes, pgrp_id);
-}
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
diff --git a/PACE/pace/posix/types.h b/PACE/pace/posix/types.h
index 391e4289bac..666b11e7b09 100644
--- a/PACE/pace/posix/types.h
+++ b/PACE/pace/posix/types.h
@@ -15,6 +15,7 @@
* ============================================================================ */
#include <sys/types.h>
+#include <pthread.h>
#ifndef PACE_SYS_TYPES_H
#define PACE_SYS_TYPES_H