summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-07-21 22:52:01 +0000
committerbde <bde@FreeBSD.org>1995-07-21 22:52:01 +0000
commit94cb7648d61aaab09b106f4dfb5fcd1e8c6c3cfc (patch)
treee4be4e1778a8e58f2a9891e880360c12d7ebaa9a /sys/dev/sio
parentfb20709ee5835b6c531ad29810bb232d88e3c761 (diff)
downloadFreeBSD-src-94cb7648d61aaab09b106f4dfb5fcd1e8c6c3cfc.zip
FreeBSD-src-94cb7648d61aaab09b106f4dfb5fcd1e8c6c3cfc.tar.gz
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[].
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 4e09485..d880196 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/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 <sys/systm.h>
#include <sys/reboot.h>
#include <sys/ioctl.h>
-#define TTYDEFCHARS /* XXX TK2.0 */
#include <sys/tty.h>
-#undef TTYDEFCHARS
#include <sys/proc.h>
#include <sys/user.h>
#include <sys/conf.h>
@@ -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)
OpenPOWER on IntegriCloud