summaryrefslogtreecommitdiff
path: root/PACE/pace/win32/termios.h
diff options
context:
space:
mode:
Diffstat (limited to 'PACE/pace/win32/termios.h')
-rw-r--r--PACE/pace/win32/termios.h32
1 files changed, 3 insertions, 29 deletions
diff --git a/PACE/pace/win32/termios.h b/PACE/pace/win32/termios.h
index a2535fe7b0e..9e7e5056167 100644
--- a/PACE/pace/win32/termios.h
+++ b/PACE/pace/win32/termios.h
@@ -13,8 +13,8 @@
*
* ============================================================================ */
-#ifndef PACE_SYS_TERMIOS_H
-#define PACE_SYS_TERMIOS_H
+#ifndef PACE_SYS_TERMIOS_H_WIN32
+#define PACE_SYS_TERMIOS_H_WIN32
#include "pace/sys/types.h"
#include <termios.h>
@@ -43,34 +43,8 @@ typedef tcflag_t pace_tcflag_t;
typedef struct termios pace_termios;
#endif /* PACE_TERMIOS */
- PACE_INLINE speed_t pace_cfgetospeed (const struct termios * termiosp);
-
- PACE_INLINE int pace_cfsetospeed (struct termios * termios_p, pace_speed_t speed);
-
- PACE_INLINE speed_t pace_cfgetispeed (const struct termios * termios_p);
-
- PACE_INLINE int pace_cfsetispeed (struct termios * termios_p, pace_speed_t speed);
-
- PACE_INLINE int pace_tcdrain (int fildes);
-
- PACE_INLINE int pace_tcflow (int fildes, int action);
-
- PACE_INLINE int pace_tcflush (int fildes, int queue_selector);
-
- PACE_INLINE int pace_tcgetattr (int fildes, struct termios * termios_p);
-
- PACE_INLINE int pace_tcsendbreak (int fildes, int duration);
-
- PACE_INLINE int pace_tcsetattr (int fildes,
- int optional_actions,
- const struct termios * termios_p);
-
#if defined (PACE_HAS_CPLUSPLUS)
}
#endif /* PACE_HAS_CPLUSPLUS */
-#if defined (PACE_HAS_INLINE)
-# include "pace/win32/termios.inl"
-#endif /* PACE_HAS_INLINE */
-
-#endif /* PACE_SYS_TERMIOS_H */
+#endif /* PACE_SYS_TERMIOS_H_WIN32 */