summaryrefslogtreecommitdiff
path: root/ttymodes.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-03-10 17:17:28 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-03-10 17:17:28 +0000
commit00261540be24b71fcd5c2b62d4ee2a7edabe081c (patch)
tree9a149091f367ee8445efcc7452af3276ad0e8fc1 /ttymodes.c
parent068f3dce2885753160f162d7edf1c4b4b1c434ac (diff)
- stevesk@cvs.openbsd.org 2001/03/10 15:02:05
[ttymodes.c ttymodes.h] remove unused sgtty macros; ok markus@
Diffstat (limited to 'ttymodes.c')
-rw-r--r--ttymodes.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/ttymodes.c b/ttymodes.c
index 2516e931..65caf2ff 100644
--- a/ttymodes.c
+++ b/ttymodes.c
@@ -15,7 +15,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ttymodes.c,v 1.10 2001/01/21 19:06:01 markus Exp $");
+RCSID("$OpenBSD: ttymodes.c,v 1.11 2001/03/10 15:02:05 stevesk Exp $");
#include "packet.h"
#include "log.h"
@@ -233,17 +233,11 @@ tty_make_modes(int fd)
packet_put_char(OP); packet_put_char(tio.c_cc[NAME]);
#define TTYMODE(NAME, FIELD, OP) \
packet_put_char(OP); packet_put_char((tio.FIELD & NAME) != 0);
-#define SGTTYCHAR(NAME, OP)
-#define SGTTYMODE(NAME, FIELD, OP)
-#define SGTTYMODEN(NAME, FIELD, OP)
#include "ttymodes.h"
#undef TTYCHAR
#undef TTYMODE
-#undef SGTTYCHAR
-#undef SGTTYMODE
-#undef SGTTYMODEN
/* Mark end of mode data. */
packet_put_char(TTY_OP_END);
@@ -303,17 +297,11 @@ tty_parse_modes(int fd, int *n_bytes_ptr)
else \
tio.FIELD &= ~NAME; \
break;
-#define SGTTYCHAR(NAME, OP)
-#define SGTTYMODE(NAME, FIELD, OP)
-#define SGTTYMODEN(NAME, FIELD, OP)
#include "ttymodes.h"
#undef TTYCHAR
#undef TTYMODE
-#undef SGTTYCHAR
-#undef SGTTYMODE
-#undef SGTTYMODEN
default:
debug("Ignoring unsupported tty mode opcode %d (0x%x)",