From 94cb7648d61aaab09b106f4dfb5fcd1e8c6c3cfc Mon Sep 17 00:00:00 2001 From: bde Date: Fri, 21 Jul 1995 22:52:01 +0000 Subject: Obtained from: partly from ancient patches of mine via 1.1.5 Move static termioschars() from a couple of drivers to tty.c. Now there is only one copy of ttydefchars[]. --- sys/isa/sio.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'sys/isa/sio.c') diff --git a/sys/isa/sio.c b/sys/isa/sio.c index 4e09485..d880196 100644 --- a/sys/isa/sio.c +++ b/sys/isa/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.101 1995/06/28 17:58:14 ache Exp $ + * $Id: sio.c,v 1.102 1995/07/05 14:30:07 bde Exp $ */ #include "sio.h" @@ -46,9 +46,7 @@ #include #include #include -#define TTYDEFCHARS /* XXX TK2.0 */ #include -#undef TTYDEFCHARS #include #include #include @@ -74,14 +72,6 @@ #define TSA_CARR_ON(tp) ((void *)&(tp)->t_rawq) #define TSA_OCOMPLETE(tp) ((void *)&(tp)->t_outq) #define TSA_OLOWAT(tp) ((void *)&(tp)->t_outq) -static void termioschars __P((struct termios *t)); -static void -termioschars(t) - struct termios *t; -{ - - bcopy(ttydefchars, t->c_cc, sizeof t->c_cc); -} #define LOTS_OF_EVENTS 64 /* helps separate urgent events from input */ #define RB_I_HIGH_WATER (TTYHOG - 2 * RS_IBUFSIZE) -- cgit v1.1