summaryrefslogtreecommitdiffstats
path: root/ax25ipd/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'ax25ipd/io.c')
-rw-r--r--ax25ipd/io.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ax25ipd/io.c b/ax25ipd/io.c
index 5b4e236..1eae3e6 100644
--- a/ax25ipd/io.c
+++ b/ax25ipd/io.c
@@ -32,15 +32,10 @@
#include <syslog.h>
-#ifndef USE_TERMIO
-#define USE_SGTTY
-#endif
-#ifdef USE_TERMIO
#include <termio.h>
static struct termio nterm;
-#endif
#ifdef USE_SGTTY
#include <sys/ioctl.h>
@@ -375,9 +370,7 @@ void io_open(void)
set_bpq_dev_call_and_up(ttydevice);
goto behind_normal_tty;
}
-#ifdef USE_TERMIO
if (ioctl(ttyfd, TCGETA, &nterm) < 0) {
-#endif
#ifdef USE_SGTTY
if (ioctl(ttyfd, TIOCGETP, &nterm) < 0) {
#endif
@@ -523,9 +516,7 @@ void io_open(void)
nterm.c_cc[VTIME] = 0;
#endif /* USE_SGTTY */
-#ifdef USE_TERMIO
if (ioctl(ttyfd, TCSETA, &nterm) < 0) {
-#endif /* USE_TERMIO */
#ifdef USE_SGTTY
if (ioctl (ttyfd, TIOCSETP, &nterm) < 0) {
#endif /* USE_SGTTY */