diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-10 17:17:28 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-10 17:17:28 +0000 |
commit | 00261540be24b71fcd5c2b62d4ee2a7edabe081c (patch) | |
tree | 9a149091f367ee8445efcc7452af3276ad0e8fc1 /ttymodes.c | |
parent | 068f3dce2885753160f162d7edf1c4b4b1c434ac (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.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/ttymodes.c b/ttymodes.c index 2516e9310..65caf2ff8 100644 --- a/ttymodes.c +++ b/ttymodes.c | |||
@@ -15,7 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include "includes.h" | 17 | #include "includes.h" |
18 | RCSID("$OpenBSD: ttymodes.c,v 1.10 2001/01/21 19:06:01 markus Exp $"); | 18 | RCSID("$OpenBSD: ttymodes.c,v 1.11 2001/03/10 15:02:05 stevesk Exp $"); |
19 | 19 | ||
20 | #include "packet.h" | 20 | #include "packet.h" |
21 | #include "log.h" | 21 | #include "log.h" |
@@ -233,17 +233,11 @@ tty_make_modes(int fd) | |||
233 | packet_put_char(OP); packet_put_char(tio.c_cc[NAME]); | 233 | packet_put_char(OP); packet_put_char(tio.c_cc[NAME]); |
234 | #define TTYMODE(NAME, FIELD, OP) \ | 234 | #define TTYMODE(NAME, FIELD, OP) \ |
235 | packet_put_char(OP); packet_put_char((tio.FIELD & NAME) != 0); | 235 | packet_put_char(OP); packet_put_char((tio.FIELD & NAME) != 0); |
236 | #define SGTTYCHAR(NAME, OP) | ||
237 | #define SGTTYMODE(NAME, FIELD, OP) | ||
238 | #define SGTTYMODEN(NAME, FIELD, OP) | ||
239 | 236 | ||
240 | #include "ttymodes.h" | 237 | #include "ttymodes.h" |
241 | 238 | ||
242 | #undef TTYCHAR | 239 | #undef TTYCHAR |
243 | #undef TTYMODE | 240 | #undef TTYMODE |
244 | #undef SGTTYCHAR | ||
245 | #undef SGTTYMODE | ||
246 | #undef SGTTYMODEN | ||
247 | 241 | ||
248 | /* Mark end of mode data. */ | 242 | /* Mark end of mode data. */ |
249 | packet_put_char(TTY_OP_END); | 243 | packet_put_char(TTY_OP_END); |
@@ -303,17 +297,11 @@ tty_parse_modes(int fd, int *n_bytes_ptr) | |||
303 | else \ | 297 | else \ |
304 | tio.FIELD &= ~NAME; \ | 298 | tio.FIELD &= ~NAME; \ |
305 | break; | 299 | break; |
306 | #define SGTTYCHAR(NAME, OP) | ||
307 | #define SGTTYMODE(NAME, FIELD, OP) | ||
308 | #define SGTTYMODEN(NAME, FIELD, OP) | ||
309 | 300 | ||
310 | #include "ttymodes.h" | 301 | #include "ttymodes.h" |
311 | 302 | ||
312 | #undef TTYCHAR | 303 | #undef TTYCHAR |
313 | #undef TTYMODE | 304 | #undef TTYMODE |
314 | #undef SGTTYCHAR | ||
315 | #undef SGTTYMODE | ||
316 | #undef SGTTYMODEN | ||
317 | 305 | ||
318 | default: | 306 | default: |
319 | debug("Ignoring unsupported tty mode opcode %d (0x%x)", | 307 | debug("Ignoring unsupported tty mode opcode %d (0x%x)", |